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.001617/0.001617, allocations: 104 kB / 16.94 MB, free: 6.191 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.00153/0.00153, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.429/1.429, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8283/0.8283, allocations: 125.4 MB / 417.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.89 kB / 0.4948 GB, free: 4.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3848, allocations: 78.55 MB / 0.5715 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.03035/0.4152, allocations: 30.04 MB / 0.6008 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.4312, allocations: 11.74 MB / 0.6123 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.4337, allocations: 47.75 kB / 0.6123 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009255/0.4429, allocations: 3.994 MB / 0.6162 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.4482, allocations: 1.504 MB / 0.6177 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.4523, allocations: 1.39 MB / 0.6191 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009701/0.462, allocations: 6.132 MB / 0.6251 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.4646, allocations: 1.365 MB / 0.6264 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.4687, allocations: 1.561 MB / 0.6279 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.4709, allocations: 1.065 MB / 0.629 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.4713, allocations: 120 kB / 0.6291 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.4747, allocations: 1.287 MB / 0.6303 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007032/0.4754, allocations: 0.5217 MB / 0.6308 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.4769, allocations: 0.9638 MB / 0.6318 GB, free: 9.715 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.4824, allocations: 2.972 MB / 0.6347 GB, free: 6.734 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.55e-05/0.4824, allocations: 0 / 0.6347 GB, free: 6.734 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4824, allocations: 8 kB / 0.6347 GB, free: 6.727 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.096e-05/0.4825, allocations: 0 / 0.6347 GB, free: 6.727 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.004748/0.4872, allocations: 2.339 MB / 0.637 GB, free: 4.316 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4873, allocations: 8.031 kB / 0.637 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4892, allocations: 381.2 kB / 0.6373 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.4935, allocations: 2.293 MB / 0.6396 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.4936, allocations: 70.23 kB / 0.6396 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.4938, allocations: 87.94 kB / 0.6397 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.4958, allocations: 1.021 MB / 0.6407 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4959, allocations: 0 / 0.6407 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/0.496, allocations: 32 kB / 0.6408 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.496, allocations: 20 kB / 0.6408 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.4979, allocations: 0.7611 MB / 0.6415 GB, free: 15.54 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.007726/0.5056, allocations: 5.153 MB / 0.6466 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5072, allocations: 0.5651 MB / 0.6471 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007735/0.5079, allocations: 329.1 kB / 0.6474 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002811/0.5108, allocations: 1.65 MB / 0.649 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008267/0.5116, allocations: 334.6 kB / 0.6494 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004383/0.5121, allocations: 67.25 kB / 0.6494 GB, free: 6.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.5121, allocations: 0 / 0.6494 GB, free: 6.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.003637/0.5157, allocations: 1.224 MB / 0.6506 GB, free: 5.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.5158, allocations: 59.39 kB / 0.6507 GB, free: 5.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.5187, allocations: 1.85 MB / 0.6525 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.5188, allocations: 41.7 kB / 0.6525 GB, free: 3.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.5197, allocations: 0.7831 MB / 0.6533 GB, free: 2.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5199, allocations: 149.9 kB / 0.6534 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.5203, allocations: 270.3 kB / 0.6537 GB, free: 2.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.5205, allocations: 353.9 kB / 0.654 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/0.5215, allocations: 472.8 kB / 0.6545 GB, free: 1.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.5228, allocations: 0.8315 MB / 0.6553 GB, free: 0.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.5249, allocations: 1.173 MB / 0.6564 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.5249, allocations: 4 kB / 0.6564 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003583/0.5285, allocations: 1.596 MB / 0.658 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.5286, allocations: 33.7 kB / 0.658 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.5286, allocations: 12.53 kB / 0.658 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006914/0.5293, allocations: 188.6 kB / 0.6582 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.5301, allocations: 199.7 kB / 0.6584 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000905/0.531, allocations: 0.7629 MB / 0.6591 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5322, allocations: 80.34 kB / 0.6592 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.5323, allocations: 47.98 kB / 0.6593 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001623/0.534, allocations: 0.8612 MB / 0.6601 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/0.5352, allocations: 0.8184 MB / 0.6609 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001838/0.5371, allocations: 1.129 MB / 0.662 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.796e-05/0.5371, allocations: 4 kB / 0.662 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003235/0.5403, allocations: 1.592 MB / 0.6636 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.5404, allocations: 37.69 kB / 0.6636 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.5404, allocations: 12 kB / 0.6636 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.5407, allocations: 107.3 kB / 0.6637 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5414, allocations: 203.9 kB / 0.6639 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.5444, allocations: 2.352 MB / 0.6662 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.5459, allocations: 84.77 kB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.546, allocations: 43.98 kB / 0.6663 GB, free: 4.727 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.0003739/0.5464, allocations: 243.9 kB / 0.6666 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.5467, allocations: 161.9 kB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.5491, allocations: 0.914 MB / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.5491, allocations: 11.98 kB / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5491, allocations: 3.938 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001695/0.5508, allocations: 0.896 MB / 0.6685 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.5548, allocations: 2.002 MB / 0.6705 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5548, allocations: 112 / 0.6705 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.5553, allocations: 87.81 kB / 0.6705 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.5556, allocations: 120.8 kB / 0.6707 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.5556, allocations: 15.98 kB / 0.6707 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007486/0.5564, allocations: 0.7495 MB / 0.6714 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5564, allocations: 7.938 kB / 0.6714 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.5591, allocations: 1.241 MB / 0.6726 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/0.5598, allocations: 310.9 kB / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.56, allocations: 11.98 kB / 0.6729 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.5606, allocations: 44.02 kB / 0.673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5608, allocations: 35.95 kB / 0.673 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.5608, allocations: 23.98 kB / 0.673 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002087/0.5629, allocations: 1.254 MB / 0.6743 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5629, allocations: 0 / 0.6743 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002525/0.5655, allocations: 0.8189 MB / 0.6751 GB, free: 11.52 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.001348/0.5668, allocations: 0.5108 MB / 0.6756 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004157/0.571, allocations: 1.921 MB / 0.6774 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.571, allocations: 3.938 kB / 0.6774 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.5719, allocations: 338 kB / 0.6778 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/0.5755, allocations: 0.7968 MB / 0.6785 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.5822, allocations: 3.104 MB / 0.6816 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.5836, allocations: 1.429 MB / 0.683 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.5841, allocations: 135.4 kB / 0.6831 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.5841, allocations: 0 / 0.6831 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.05747/0.6416, allocations: 36.67 MB / 0.7189 GB, free: 14.76 MB / 0.5606 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)