Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 152 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.001318/0.001318, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 69.53 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3643, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03738/0.4018, allocations: 33.2 MB / 1.101 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.4208, allocations: 12.31 MB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.4228, allocations: 55.69 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007929/0.4307, allocations: 3.967 MB / 1.117 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.4353, allocations: 1.637 MB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.439, allocations: 1.44 MB / 1.12 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01022/0.4492, allocations: 7.669 MB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003257/0.4525, allocations: 2.086 MB / 1.129 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004093/0.4566, allocations: 1.87 MB / 1.131 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.4591, allocations: 1.408 MB / 1.132 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.4597, allocations: 144 kB / 1.132 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.4629, allocations: 1.334 MB / 1.134 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008407/0.4638, allocations: 0.5878 MB / 1.134 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.4658, allocations: 1.197 MB / 1.135 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005482/0.4713, allocations: 3.458 MB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4714, allocations: 4 kB / 1.139 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4714, allocations: 0 / 1.139 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.574e-05/0.4714, allocations: 4 kB / 1.139 GB, free: 1.824 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005189/0.4766, allocations: 2.798 MB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4767, allocations: 8.031 kB / 1.142 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.4788, allocations: 436.6 kB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00477/0.4836, allocations: 2.623 MB / 1.145 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.4838, allocations: 82.28 kB / 1.145 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.4841, allocations: 115.8 kB / 1.145 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.4869, allocations: 1.323 MB / 1.146 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.487, allocations: 0 / 1.146 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.4871, allocations: 43.94 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.4871, allocations: 24 kB / 1.146 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.4894, allocations: 1.026 MB / 1.147 GB, free: 9.125 MB / 0.9044 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.009485/0.4989, allocations: 6.929 MB / 1.154 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.5004, allocations: 0.5993 MB / 1.154 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.5012, allocations: 399 kB / 1.155 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003004/0.5042, allocations: 1.762 MB / 1.157 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008244/0.5051, allocations: 362.9 kB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000649/0.5057, allocations: 95.19 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 3.005e-06/0.5057, allocations: 3.938 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.003893/0.5096, allocations: 1.364 MB / 1.158 GB, free: 13.01 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.5097, allocations: 63.36 kB / 1.158 GB, free: 12.94 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.5134, allocations: 2.372 MB / 1.161 GB, free: 10.55 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/0.5135, allocations: 41.7 kB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/0.5145, allocations: 0.9963 MB / 1.162 GB, free: 9.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.5146, allocations: 157.9 kB / 1.162 GB, free: 9.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/0.5151, allocations: 294.5 kB / 1.162 GB, free: 9.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5152, allocations: 365.9 kB / 1.162 GB, free: 8.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009816/0.5162, allocations: 0.4978 MB / 1.163 GB, free: 8.176 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.5175, allocations: 0.9918 MB / 1.164 GB, free: 6.969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.5196, allocations: 1.343 MB / 1.165 GB, free: 5.469 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.5196, allocations: 4 kB / 1.165 GB, free: 5.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003571/0.5232, allocations: 1.804 MB / 1.167 GB, free: 3.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.5233, allocations: 39.41 kB / 1.167 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.5233, allocations: 20.03 kB / 1.167 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/0.524, allocations: 184.6 kB / 1.167 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008384/0.5248, allocations: 231.6 kB / 1.167 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/0.5255, allocations: 0.7577 MB / 1.168 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5269, allocations: 84.61 kB / 1.168 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.527, allocations: 55.97 kB / 1.168 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001742/0.5287, allocations: 1.019 MB / 1.169 GB, free: 1.227 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001231/0.53, allocations: 0.9697 MB / 1.17 GB, free: 48 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00191/0.5319, allocations: 1.311 MB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.989e-06/0.5319, allocations: 7.984 kB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003173/0.5351, allocations: 1.801 MB / 1.173 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.5352, allocations: 37.7 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5352, allocations: 15.94 kB / 1.173 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.5354, allocations: 120.8 kB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.5362, allocations: 219.8 kB / 1.174 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5384, allocations: 2.33 MB / 1.176 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5398, allocations: 92.34 kB / 1.176 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.5399, allocations: 51.98 kB / 1.176 GB, free: 9.719 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003299/0.5402, allocations: 254.5 kB / 1.176 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.5406, allocations: 213.2 kB / 1.177 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.5431, allocations: 1.033 MB / 1.178 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.5431, allocations: 8 kB / 1.178 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5432, allocations: 0 / 1.178 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/0.5448, allocations: 0.97 MB / 1.179 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.5491, allocations: 2.323 MB / 1.181 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5491, allocations: 3.984 kB / 1.181 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.5496, allocations: 83.92 kB / 1.181 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.5499, allocations: 116.8 kB / 1.181 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.55, allocations: 23.97 kB / 1.181 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005486/0.5505, allocations: 0.7395 MB / 1.182 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5505, allocations: 0 / 1.182 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.5533, allocations: 1.416 MB / 1.183 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.554, allocations: 358.3 kB / 1.183 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.5544, allocations: 12 kB / 1.183 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.5553, allocations: 44.02 kB / 1.184 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.5554, allocations: 44.31 kB / 1.184 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.5555, allocations: 23.98 kB / 1.184 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002377/0.5579, allocations: 1.619 MB / 1.185 GB, free: 216 kB / 0.9356 GB Notification: Performance of sort global known variables: time 3e-07/0.5579, allocations: 0 / 1.185 GB, free: 216 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002739/0.5606, allocations: 0.9438 MB / 1.186 GB, free: 15.27 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (38): * Single equations (assignments): 32 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.562, allocations: 0.5223 MB / 1.187 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.566, allocations: 2.063 MB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.566, allocations: 0 / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.5669, allocations: 343.8 kB / 1.189 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/0.5715, allocations: 0.9772 MB / 1.19 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.5789, allocations: 3.703 MB / 1.194 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.5804, allocations: 1.677 MB / 1.195 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002371/0.5828, allocations: 0.5476 MB / 1.196 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.5833, allocations: 151.4 kB / 1.196 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of SimCode: time 6.32e-07/0.5833, allocations: 4 kB / 1.196 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of Templates: time 0.06717/0.6504, allocations: 39.42 MB / 1.234 GB, free: 14.24 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)