Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 172.4 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4637/0.4637, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 348.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 88.84 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 71.02 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5741/0.8952, allocations: 352.6 MB / 0.9038 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.8956, allocations: 91.14 kB / 0.9038 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.815/5.711, allocations: 1.53 GB / 2.434 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/5.711, allocations: 0 / 2.434 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002565/5.711, allocations: 51.72 kB / 2.434 GB, free: 81.04 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005558/5.717, allocations: 2.19 MB / 2.436 GB, free: 79.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/5.717, allocations: 10.47 kB / 2.436 GB, free: 79.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/5.72, allocations: 0.6177 MB / 2.437 GB, free: 79.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/5.724, allocations: 1.547 MB / 2.438 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-05/5.725, allocations: 82.59 kB / 2.438 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/5.725, allocations: 112 kB / 2.438 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/5.728, allocations: 1.389 MB / 2.44 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/5.728, allocations: 3.719 kB / 2.44 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/5.729, allocations: 44.78 kB / 2.44 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/5.729, allocations: 23.06 kB / 2.44 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/5.732, allocations: 1.25 MB / 2.441 GB, free: 79.16 MB / 0.6198 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.008024/5.74, allocations: 6.676 MB / 2.448 GB, free: 75.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/5.742, allocations: 1.247 MB / 2.449 GB, free: 75.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/5.743, allocations: 0.6841 MB / 2.449 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/5.745, allocations: 2.262 MB / 2.452 GB, free: 72.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/5.746, allocations: 0.839 MB / 2.452 GB, free: 72.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=97): time 3.968e-06/5.746, allocations: 0 / 2.452 GB, free: 72.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=97): time 0.004714/5.751, allocations: 2.23 MB / 2.455 GB, free: 72.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/5.751, allocations: 144.4 kB / 2.455 GB, free: 72.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/5.753, allocations: 1.241 MB / 2.456 GB, free: 71.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/5.753, allocations: 46.61 kB / 2.456 GB, free: 71.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/5.753, allocations: 0.7087 MB / 2.457 GB, free: 71.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/5.754, allocations: 321.6 kB / 2.457 GB, free: 71.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/5.754, allocations: 19.72 kB / 2.457 GB, free: 71.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/5.754, allocations: 351.2 kB / 2.457 GB, free: 71.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/5.755, allocations: 0.5905 MB / 2.458 GB, free: 71.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/5.756, allocations: 0.8952 MB / 2.459 GB, free: 70.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/5.759, allocations: 1.538 MB / 2.46 GB, free: 70.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/5.759, allocations: 0 / 2.46 GB, free: 70.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003597/5.763, allocations: 1.851 MB / 2.462 GB, free: 70.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/5.763, allocations: 344.8 kB / 2.463 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/5.763, allocations: 9.625 kB / 2.463 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/5.763, allocations: 7.781 kB / 2.463 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/5.764, allocations: 292.7 kB / 2.463 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/5.764, allocations: 10.5 kB / 2.463 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/5.766, allocations: 260.6 kB / 2.463 GB, free: 69.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/5.766, allocations: 63.64 kB / 2.463 GB, free: 69.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/5.766, allocations: 3.844 kB / 2.463 GB, free: 69.82 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003199/5.769, allocations: 1.75 MB / 2.465 GB, free: 69.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/5.769, allocations: 7.938 kB / 2.465 GB, free: 69.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/5.769, allocations: 10.06 kB / 2.465 GB, free: 69.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/5.77, allocations: 290 kB / 2.465 GB, free: 69.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/5.77, allocations: 11.09 kB / 2.465 GB, free: 69.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/5.772, allocations: 242.5 kB / 2.465 GB, free: 69.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/5.772, allocations: 70.62 kB / 2.465 GB, free: 69.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007857/5.773, allocations: 0.5019 MB / 2.466 GB, free: 69.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/5.773, allocations: 164.7 kB / 2.466 GB, free: 69.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/5.777, allocations: 2.34 MB / 2.468 GB, free: 69.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/5.777, allocations: 21.89 kB / 2.468 GB, free: 69.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/5.777, allocations: 0 / 2.468 GB, free: 69.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/5.777, allocations: 6.547 kB / 2.468 GB, free: 69.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/5.783, allocations: 3.689 MB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/5.783, allocations: 2.25 kB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/5.784, allocations: 229 kB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/5.784, allocations: 3.062 kB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/5.784, allocations: 44.55 kB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/5.784, allocations: 7.875 kB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/5.784, allocations: 3.094 kB / 2.472 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005075/5.789, allocations: 3.151 MB / 2.475 GB, free: 68.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/5.79, allocations: 407.7 kB / 2.476 GB, free: 67.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/5.79, allocations: 28.66 kB / 2.476 GB, free: 67.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/5.791, allocations: 179 kB / 2.476 GB, free: 67.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/5.791, allocations: 70.08 kB / 2.476 GB, free: 67.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/5.791, allocations: 54.58 kB / 2.476 GB, free: 67.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001077/5.792, allocations: 0.8288 MB / 2.477 GB, free: 67.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.132e-06/5.792, allocations: 0 / 2.477 GB, free: 67.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002357/5.795, allocations: 0.929 MB / 2.478 GB, free: 67.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001498/5.796, allocations: 0.9769 MB / 2.479 GB, free: 67.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004672/5.801, allocations: 2.767 MB / 2.481 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/5.801, allocations: 0 / 2.481 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/5.803, allocations: 1.072 MB / 2.482 GB, free: 66.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/5.806, allocations: 0.6319 MB / 2.483 GB, free: 66.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/5.811, allocations: 3.979 MB / 2.487 GB, free: 64.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/5.811, allocations: 1.282 MB / 2.488 GB, free: 64.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001641/5.813, allocations: 421.3 kB / 2.489 GB, free: 64.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/5.813, allocations: 147 kB / 2.489 GB, free: 64.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.22e-07/5.813, allocations: 0 / 2.489 GB, free: 64.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.04763/5.861, allocations: 34.86 MB / 2.523 GB, free: 47.6 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)