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.00143/0.00143, allocations: 109 kB / 16.27 MB, free: 6.41 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.001187/0.001187, allocations: 186.2 kB / 17.2 MB, free: 5.953 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7515/0.7515, allocations: 126.1 MB / 417.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.495 GB, free: 3.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3679, allocations: 78.7 MB / 0.5718 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02646/0.3944, allocations: 30.01 MB / 0.6011 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.4094, allocations: 11.73 MB / 0.6126 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.4114, allocations: 51.69 kB / 0.6126 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007854/0.4192, allocations: 3.93 MB / 0.6165 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.4259, allocations: 1.523 MB / 0.618 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.4302, allocations: 1.397 MB / 0.6193 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008726/0.4389, allocations: 6.617 MB / 0.6258 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.4408, allocations: 1.373 MB / 0.6271 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.4437, allocations: 1.448 MB / 0.6285 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.445, allocations: 1.089 MB / 0.6296 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.4452, allocations: 120 kB / 0.6297 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.4477, allocations: 1.291 MB / 0.631 GB, free: 10 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.4482, allocations: 0.5217 MB / 0.6315 GB, free: 9.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009491/0.4492, allocations: 0.9599 MB / 0.6324 GB, free: 8.512 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.4527, allocations: 2.975 MB / 0.6353 GB, free: 5.527 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4528, allocations: 0 / 0.6353 GB, free: 5.527 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4528, allocations: 0 / 0.6353 GB, free: 5.527 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.326e-05/0.4528, allocations: 0 / 0.6353 GB, free: 5.527 MB / 478.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.003554/0.4564, allocations: 2.351 MB / 0.6376 GB, free: 3.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4564, allocations: 8.031 kB / 0.6376 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.4582, allocations: 381.2 kB / 0.638 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.4616, allocations: 2.297 MB / 0.6402 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.4617, allocations: 70.23 kB / 0.6403 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.4619, allocations: 91.94 kB / 0.6404 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.4636, allocations: 1.001 MB / 0.6414 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4636, allocations: 7.938 kB / 0.6414 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.4637, allocations: 32 kB / 0.6414 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4637, allocations: 20 kB / 0.6414 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4654, allocations: 0.7571 MB / 0.6422 GB, free: 14.34 MB / 494.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.006267/0.4717, allocations: 5.261 MB / 0.6473 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.473, allocations: 0.5719 MB / 0.6479 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.4737, allocations: 328.2 kB / 0.6482 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.476, allocations: 1.642 MB / 0.6498 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000743/0.4768, allocations: 342.8 kB / 0.6501 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000387/0.4772, allocations: 55.38 kB / 0.6502 GB, free: 5.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.4772, allocations: 3.938 kB / 0.6502 GB, free: 5.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.003283/0.4805, allocations: 1.226 MB / 0.6514 GB, free: 4.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4805, allocations: 63.41 kB / 0.6514 GB, free: 4.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.4828, allocations: 1.85 MB / 0.6532 GB, free: 2.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.4829, allocations: 41.7 kB / 0.6533 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006328/0.4836, allocations: 0.7792 MB / 0.654 GB, free: 1.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.4837, allocations: 153.9 kB / 0.6542 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.4841, allocations: 266.3 kB / 0.6544 GB, free: 1.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4842, allocations: 357.9 kB / 0.6548 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/0.485, allocations: 464.9 kB / 0.6552 GB, free: 368 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4861, allocations: 0.8392 MB / 0.656 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.4878, allocations: 1.165 MB / 0.6572 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4879, allocations: 8 kB / 0.6572 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003082/0.491, allocations: 1.592 MB / 0.6587 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.491, allocations: 39.56 kB / 0.6588 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.491, allocations: 12 kB / 0.6588 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.4917, allocations: 191.6 kB / 0.659 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.4924, allocations: 195.6 kB / 0.6591 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000764/0.4932, allocations: 0.7708 MB / 0.6599 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4944, allocations: 68.69 kB / 0.66 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/0.4946, allocations: 51.98 kB / 0.66 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/0.496, allocations: 0.8613 MB / 0.6609 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.4971, allocations: 0.8223 MB / 0.6617 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001592/0.4987, allocations: 1.124 MB / 0.6628 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.427e-06/0.4987, allocations: 4 kB / 0.6628 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00279/0.5015, allocations: 1.596 MB / 0.6643 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.5016, allocations: 37.69 kB / 0.6644 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5016, allocations: 12 kB / 0.6644 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.5018, allocations: 104.8 kB / 0.6645 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.5024, allocations: 187.8 kB / 0.6646 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.5046, allocations: 2.374 MB / 0.667 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.5057, allocations: 77.83 kB / 0.667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.5058, allocations: 40 kB / 0.6671 GB, free: 3.391 MB / 0.4981 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.0003014/0.5061, allocations: 251.8 kB / 0.6673 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.5066, allocations: 165.8 kB / 0.6675 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.5087, allocations: 0.9078 MB / 0.6684 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5088, allocations: 11.98 kB / 0.6684 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5088, allocations: 3.938 kB / 0.6684 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/0.5103, allocations: 0.8882 MB / 0.6692 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.5142, allocations: 2.006 MB / 0.6712 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5142, allocations: 0 / 0.6712 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.5147, allocations: 83.98 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.515, allocations: 129.5 kB / 0.6714 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.515, allocations: 11.98 kB / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005785/0.5156, allocations: 0.7532 MB / 0.6722 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5156, allocations: 4 kB / 0.6722 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.5181, allocations: 1.245 MB / 0.6734 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.5188, allocations: 310.9 kB / 0.6737 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.5191, allocations: 12 kB / 0.6737 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008038/0.5199, allocations: 39.95 kB / 0.6737 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.5201, allocations: 39.94 kB / 0.6738 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.5201, allocations: 28.05 kB / 0.6738 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002016/0.5221, allocations: 1.25 MB / 0.675 GB, free: 11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5222, allocations: 0 / 0.675 GB, free: 11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002487/0.5246, allocations: 0.8151 MB / 0.6758 GB, free: 10.18 MB / 0.5137 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.001271/0.5259, allocations: 0.5002 MB / 0.6763 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.5297, allocations: 1.925 MB / 0.6782 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5297, allocations: 0 / 0.6782 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.5306, allocations: 341.2 kB / 0.6785 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.5342, allocations: 0.797 MB / 0.6793 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.5404, allocations: 3.025 MB / 0.6822 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.5416, allocations: 1.436 MB / 0.6836 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001759/0.5434, allocations: 439.7 kB / 0.6841 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.5438, allocations: 135.4 kB / 0.6842 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.5438, allocations: 0 / 0.6842 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of Templates: time 0.08186/0.6257, allocations: 33.33 MB / 0.7167 GB, free: 0.6016 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)