Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.89 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02914/0.3844, allocations: 30.07 MB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.4025, allocations: 11.71 MB / 1.109 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.4051, allocations: 47.75 kB / 1.109 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009345/0.4144, allocations: 3.924 MB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.42, allocations: 1.512 MB / 1.114 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.425, allocations: 1.408 MB / 1.116 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.4366, allocations: 6.606 MB / 1.122 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.4401, allocations: 1.381 MB / 1.123 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004482/0.4446, allocations: 1.451 MB / 1.125 GB, free: 124 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.4469, allocations: 1.081 MB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005419/0.4475, allocations: 128 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.4507, allocations: 1.302 MB / 1.127 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007936/0.4516, allocations: 0.5178 MB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.4536, allocations: 0.956 MB / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00518/0.4588, allocations: 2.975 MB / 1.132 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4589, allocations: 0 / 1.132 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4589, allocations: 0 / 1.132 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.756e-05/0.459, allocations: 0 / 1.132 GB, free: 9.141 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005268/0.4643, allocations: 2.347 MB / 1.134 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4643, allocations: 12.03 kB / 1.134 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.4663, allocations: 381.2 kB / 1.134 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.4703, allocations: 2.297 MB / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.4704, allocations: 70.22 kB / 1.137 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.4707, allocations: 88 kB / 1.137 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.4727, allocations: 1.013 MB / 1.138 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.4727, allocations: 0 / 1.138 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.812e-05/0.4728, allocations: 40 kB / 1.138 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.4729, allocations: 16 kB / 1.138 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.4748, allocations: 0.7571 MB / 1.139 GB, free: 1.953 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/0.4825, allocations: 5.263 MB / 1.144 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.4839, allocations: 0.575 MB / 1.144 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.4847, allocations: 329.9 kB / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002757/0.4875, allocations: 1.635 MB / 1.146 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007877/0.4883, allocations: 330.9 kB / 1.146 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005591/0.4888, allocations: 59.28 kB / 1.147 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=42): time 3.867e-06/0.4889, allocations: 4 kB / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42): time 0.003613/0.4925, allocations: 1.234 MB / 1.148 GB, free: 8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.4926, allocations: 67.34 kB / 1.148 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.4957, allocations: 1.857 MB / 1.15 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.4958, allocations: 41.7 kB / 1.15 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/0.4966, allocations: 0.7753 MB / 1.15 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.4968, allocations: 157.9 kB / 1.151 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.4972, allocations: 262.3 kB / 1.151 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4973, allocations: 353.9 kB / 1.151 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.4983, allocations: 464.9 kB / 1.152 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.4994, allocations: 0.8353 MB / 1.152 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5013, allocations: 1.173 MB / 1.154 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.5013, allocations: 7.938 kB / 1.154 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003109/0.5045, allocations: 1.604 MB / 1.155 GB, free: 44 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.5045, allocations: 33.7 kB / 1.155 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.5045, allocations: 12.05 kB / 1.155 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/0.5052, allocations: 185 kB / 1.155 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/0.506, allocations: 195.7 kB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007457/0.5068, allocations: 0.7879 MB / 1.156 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.5079, allocations: 68.94 kB / 1.156 GB, free: 14.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.508, allocations: 47.98 kB / 1.156 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001385/0.5094, allocations: 0.8651 MB / 1.157 GB, free: 13.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001041/0.5105, allocations: 0.8149 MB / 1.158 GB, free: 12.85 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00159/0.5121, allocations: 1.133 MB / 1.159 GB, free: 11.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.336e-06/0.5121, allocations: 4 kB / 1.159 GB, free: 11.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002738/0.5148, allocations: 1.584 MB / 1.161 GB, free: 9.965 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5149, allocations: 34.3 kB / 1.161 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5149, allocations: 8 kB / 1.161 GB, free: 9.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.5151, allocations: 116.7 kB / 1.161 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.5158, allocations: 191.8 kB / 1.161 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.5179, allocations: 2.356 MB / 1.163 GB, free: 7.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.519, allocations: 77.77 kB / 1.163 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.5191, allocations: 40.05 kB / 1.163 GB, free: 6.988 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.5194, allocations: 250.3 kB / 1.164 GB, free: 6.738 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.5198, allocations: 165.8 kB / 1.164 GB, free: 6.574 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.522, allocations: 0.9083 MB / 1.165 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.522, allocations: 4 kB / 1.165 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.522, allocations: 4 kB / 1.165 GB, free: 5.645 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/0.5235, allocations: 0.8997 MB / 1.166 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.527, allocations: 1.994 MB / 1.168 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.527, allocations: 0 / 1.168 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.5275, allocations: 91.92 kB / 1.168 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.5278, allocations: 120.7 kB / 1.168 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.5278, allocations: 11.98 kB / 1.168 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005864/0.5284, allocations: 0.7551 MB / 1.169 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5284, allocations: 4 kB / 1.169 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.5309, allocations: 1.245 MB / 1.17 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.5314, allocations: 311 kB / 1.17 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.5317, allocations: 8.062 kB / 1.17 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.5324, allocations: 47.89 kB / 1.17 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5325, allocations: 31.95 kB / 1.17 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.5325, allocations: 27.97 kB / 1.17 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001777/0.5343, allocations: 1.254 MB / 1.171 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5343, allocations: 4 kB / 1.171 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00218/0.5365, allocations: 0.8073 MB / 1.172 GB, free: 13.79 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.5377, allocations: 0.5061 MB / 1.173 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003649/0.5414, allocations: 1.937 MB / 1.175 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5414, allocations: 0 / 1.175 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/0.5422, allocations: 337 kB / 1.175 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.5453, allocations: 0.8055 MB / 1.176 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.5518, allocations: 3.03 MB / 1.179 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.5531, allocations: 1.444 MB / 1.18 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002014/0.5551, allocations: 441.1 kB / 1.18 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.5555, allocations: 135.4 kB / 1.181 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of SimCode: time 1.012e-06/0.5555, allocations: 0 / 1.181 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.05621/0.6118, allocations: 33.35 MB / 1.213 GB, free: 4.152 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)