Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 108.3 kB / 16.29 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 186.5 kB / 17.22 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 68.47 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2821, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005844/0.288, allocations: 3.833 MB / 0.7878 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5171/0.8052, allocations: 1.761 MB / 0.7895 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.8054, allocations: 4.5 kB / 0.7895 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.8067, allocations: 453.5 kB / 0.79 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.8072, allocations: 249.3 kB / 0.7902 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.8078, allocations: 249 kB / 0.7904 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.8083, allocations: 0.4953 MB / 0.7909 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/0.809, allocations: 368.7 kB / 0.7913 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.8092, allocations: 188.3 kB / 0.7915 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.8096, allocations: 236.9 kB / 0.7917 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.8097, allocations: 28.66 kB / 0.7917 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.8101, allocations: 184.1 kB / 0.7919 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.8102, allocations: 135.2 kB / 0.792 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.8104, allocations: 177.9 kB / 0.7922 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.811, allocations: 499.4 kB / 0.7927 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.811, allocations: 0 / 0.7927 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8111, allocations: 0 / 0.7927 GB, free: 46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.8111, allocations: 1.656 kB / 0.7927 GB, free: 46 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001282/0.8124, allocations: 0.6593 MB / 0.7933 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.8124, allocations: 10.56 kB / 0.7933 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/0.813, allocations: 83.33 kB / 0.7934 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.8134, allocations: 294.6 kB / 0.7937 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.8134, allocations: 21.88 kB / 0.7937 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.8135, allocations: 35.97 kB / 0.7937 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008002/0.8143, allocations: 492.6 kB / 0.7942 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.8143, allocations: 0 / 0.7942 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.8144, allocations: 22.38 kB / 0.7942 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.8144, allocations: 37.61 kB / 0.7943 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.815, allocations: 365.3 kB / 0.7946 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.8168, allocations: 2.03 MB / 0.7966 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.8173, allocations: 214.4 kB / 0.7968 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.8176, allocations: 156.7 kB / 0.797 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.8177, allocations: 4.906 kB / 0.797 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.8177, allocations: 34 kB / 0.797 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.8177, allocations: 0 / 0.797 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0009998/0.8187, allocations: 420.4 kB / 0.7974 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.8188, allocations: 54.78 kB / 0.7974 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.819, allocations: 261.9 kB / 0.7977 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.819, allocations: 29.58 kB / 0.7977 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.8191, allocations: 212.5 kB / 0.7979 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.8192, allocations: 66.17 kB / 0.798 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.8193, allocations: 60.91 kB / 0.798 GB, free: 43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.8194, allocations: 338.4 kB / 0.7984 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.8197, allocations: 93.88 kB / 0.7985 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.82, allocations: 202.2 kB / 0.7986 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.8204, allocations: 318.5 kB / 0.799 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8205, allocations: 0 / 0.799 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006951/0.8212, allocations: 353.4 kB / 0.7993 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.8212, allocations: 9.125 kB / 0.7993 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.8212, allocations: 2.344 kB / 0.7993 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.8214, allocations: 35.08 kB / 0.7993 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.8217, allocations: 69.67 kB / 0.7994 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.8227, allocations: 1.445 MB / 0.8008 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.823, allocations: 42.33 kB / 0.8009 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.823, allocations: 15.19 kB / 0.8009 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003417/0.8233, allocations: 218.7 kB / 0.8011 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002941/0.8236, allocations: 218.9 kB / 0.8013 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004947/0.8241, allocations: 319.1 kB / 0.8016 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.8242, allocations: 2.188 kB / 0.8016 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006302/0.8248, allocations: 335.2 kB / 0.8019 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.8248, allocations: 6.5 kB / 0.8019 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8248, allocations: 8.469 kB / 0.8019 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/0.8248, allocations: 5.125 kB / 0.8019 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.8251, allocations: 72.16 kB / 0.802 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8251, allocations: 9.562 kB / 0.802 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.8253, allocations: 42.91 kB / 0.802 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.8254, allocations: 12.25 kB / 0.8021 GB, free: 40.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.8255, allocations: 205 kB / 0.8023 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.8256, allocations: 22.62 kB / 0.8023 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.8256, allocations: 33.09 kB / 0.8023 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8256, allocations: 1.625 kB / 0.8023 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8256, allocations: 0 / 0.8023 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.8256, allocations: 0.6562 kB / 0.8023 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.8268, allocations: 0.7563 MB / 0.803 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8268, allocations: 0 / 0.803 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.827, allocations: 39.44 kB / 0.8031 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.8271, allocations: 31.66 kB / 0.8031 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.8271, allocations: 5.312 kB / 0.8031 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009013/0.8281, allocations: 1.42 MB / 0.8045 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8281, allocations: 0.7031 kB / 0.8045 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.8286, allocations: 375.5 kB / 0.8049 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.8287, allocations: 112.2 kB / 0.805 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.8288, allocations: 8.422 kB / 0.805 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.829, allocations: 13.97 kB / 0.805 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.829, allocations: 15.89 kB / 0.805 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.8291, allocations: 18.66 kB / 0.805 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001974/0.8293, allocations: 183.5 kB / 0.8052 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8293, allocations: 0.9688 kB / 0.8052 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006134/0.8299, allocations: 144.3 kB / 0.8053 GB, free: 37.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001185/0.83, allocations: 100.8 kB / 0.8054 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.8312, allocations: 0.4913 MB / 0.8059 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8312, allocations: 5.156 kB / 0.8059 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.8315, allocations: 219.5 kB / 0.8061 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.832, allocations: 65.8 kB / 0.8062 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.8329, allocations: 0.5448 MB / 0.8067 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.8333, allocations: 0.7993 MB / 0.8075 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.8335, allocations: 71.61 kB / 0.8076 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.8336, allocations: 26.19 kB / 0.8076 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.8336, allocations: 0 / 0.8076 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.009015/0.8426, allocations: 3.52 MB / 0.811 GB, free: 36.1 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)