Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001266/0.001266, allocations: 110.1 kB / 17.03 MB, free: 5.703 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.001316/0.001316, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.222/1.222, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6997/0.6997, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02349/0.347, allocations: 30.01 MB / 0.5869 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.3618, allocations: 11.73 MB / 0.5983 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.3636, allocations: 48.34 kB / 0.5984 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006546/0.3701, allocations: 3.925 MB / 0.6022 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.374, allocations: 1.521 MB / 0.6037 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.3772, allocations: 1.411 MB / 0.6051 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007743/0.3849, allocations: 6.623 MB / 0.6115 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.3866, allocations: 1.377 MB / 0.6129 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.3893, allocations: 1.465 MB / 0.6143 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.3907, allocations: 1.081 MB / 0.6154 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.3909, allocations: 127.9 kB / 0.6155 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.3934, allocations: 1.31 MB / 0.6168 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.3939, allocations: 0.5178 MB / 0.6173 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009322/0.3948, allocations: 0.9599 MB / 0.6182 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.3982, allocations: 3.007 MB / 0.6211 GB, free: 3.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3982, allocations: 0 / 0.6211 GB, free: 3.332 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3982, allocations: 0 / 0.6211 GB, free: 3.332 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.3982, allocations: 0 / 0.6211 GB, free: 3.332 MB / 462.1 MB 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.003297/0.4015, allocations: 2.347 MB / 0.6234 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4016, allocations: 8.031 kB / 0.6234 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.4032, allocations: 385.2 kB / 0.6238 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.4068, allocations: 2.352 MB / 0.6261 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.4069, allocations: 70 kB / 0.6262 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.407, allocations: 84 kB / 0.6262 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.4087, allocations: 1.009 MB / 0.6272 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4087, allocations: 0 / 0.6272 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.4088, allocations: 32 kB / 0.6273 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.4088, allocations: 23.94 kB / 0.6273 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.4104, allocations: 0.7454 MB / 0.628 GB, free: 12.11 MB / 478.1 MB 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.00584/0.4162, allocations: 5.244 MB / 0.6331 GB, free: 6.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.4175, allocations: 0.558 MB / 0.6337 GB, free: 5.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.4181, allocations: 325.5 kB / 0.634 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.4205, allocations: 1.647 MB / 0.6356 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007322/0.4212, allocations: 326.8 kB / 0.6359 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003245/0.4216, allocations: 63.27 kB / 0.636 GB, free: 3.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.604e-06/0.4216, allocations: 0 / 0.636 GB, free: 3.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.003169/0.4247, allocations: 1.231 MB / 0.6372 GB, free: 2.195 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4248, allocations: 55.41 kB / 0.6372 GB, free: 2.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.4269, allocations: 1.853 MB / 0.639 GB, free: 236 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.427, allocations: 45.7 kB / 0.6391 GB, free: 184 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.4276, allocations: 0.7792 MB / 0.6398 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4278, allocations: 149.9 kB / 0.64 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.4281, allocations: 266.3 kB / 0.6402 GB, free: 14.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4282, allocations: 357.9 kB / 0.6406 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.429, allocations: 460.9 kB / 0.641 GB, free: 14.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.4301, allocations: 0.8374 MB / 0.6418 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.4318, allocations: 1.161 MB / 0.643 GB, free: 11.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4318, allocations: 4 kB / 0.643 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002894/0.4347, allocations: 1.604 MB / 0.6445 GB, free: 10.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.4347, allocations: 37.69 kB / 0.6446 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.4348, allocations: 11.98 kB / 0.6446 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.4354, allocations: 186.4 kB / 0.6448 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.4361, allocations: 195.7 kB / 0.645 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007144/0.4368, allocations: 0.7809 MB / 0.6457 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.4379, allocations: 55.94 kB / 0.6458 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.438, allocations: 59.95 kB / 0.6458 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.4393, allocations: 0.8613 MB / 0.6467 GB, free: 8.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009621/0.4403, allocations: 0.8145 MB / 0.6475 GB, free: 7.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001507/0.4418, allocations: 1.128 MB / 0.6486 GB, free: 5.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.259e-06/0.4418, allocations: 4 kB / 0.6486 GB, free: 5.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00247/0.4443, allocations: 1.572 MB / 0.6501 GB, free: 4.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.4443, allocations: 41.69 kB / 0.6501 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4443, allocations: 8 kB / 0.6502 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.4446, allocations: 113.3 kB / 0.6503 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.4452, allocations: 191.7 kB / 0.6504 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.4474, allocations: 2.35 MB / 0.6527 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.4483, allocations: 71.89 kB / 0.6528 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.4484, allocations: 47.98 kB / 0.6529 GB, free: 1.234 MB / 494.1 MB 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.0002737/0.4487, allocations: 247 kB / 0.6531 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.4489, allocations: 165.8 kB / 0.6532 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.4508, allocations: 0.9081 MB / 0.6541 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4508, allocations: 11.98 kB / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.4508, allocations: 0 / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/0.4522, allocations: 0.892 MB / 0.655 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.4554, allocations: 1.99 MB / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4555, allocations: 4.062 kB / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.4559, allocations: 83.88 kB / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.4562, allocations: 112.8 kB / 0.6572 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.4562, allocations: 15.98 kB / 0.6572 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005908/0.4568, allocations: 0.7473 MB / 0.6579 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4568, allocations: 7.984 kB / 0.6579 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.459, allocations: 1.238 MB / 0.6591 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.4595, allocations: 310.9 kB / 0.6594 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.4597, allocations: 11.98 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.4603, allocations: 35.97 kB / 0.6595 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.4604, allocations: 35.94 kB / 0.6595 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.4605, allocations: 28.05 kB / 0.6595 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001584/0.4621, allocations: 1.254 MB / 0.6607 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4621, allocations: 4 kB / 0.6607 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001851/0.4639, allocations: 0.8112 MB / 0.6615 GB, free: 8.074 MB / 0.4981 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.0009464/0.4649, allocations: 0.4986 MB / 0.662 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003131/0.468, allocations: 1.877 MB / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.468, allocations: 0 / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.4688, allocations: 331.9 kB / 0.6642 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.4714, allocations: 0.8046 MB / 0.665 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.4766, allocations: 2.997 MB / 0.6679 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/0.4776, allocations: 1.443 MB / 0.6693 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001204/0.4788, allocations: 433.2 kB / 0.6697 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.4791, allocations: 139.4 kB / 0.6698 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of SimCode: time 6.92e-07/0.4791, allocations: 0 / 0.6698 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.05396/0.5331, allocations: 33.33 MB / 0.7024 GB, free: 14.54 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)