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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001637/0.001638, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5074/0.5074, allocations: 92 MB / 108.5 MB, free: 13.1 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.538/1.538, allocations: 223.2 MB / 354.3 MB, free: 12.05 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.0009805/0.0009803, allocations: 104.2 kB / 427.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 72.31 MB / 0.5689 GB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.312, allocations: 354 MB / 0.9146 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.313, allocations: 88.2 kB / 0.9146 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.029/7.342, allocations: 1.539 GB / 2.454 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/7.342, allocations: 0 / 2.454 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000381/7.342, allocations: 52.16 kB / 2.454 GB, free: 57.89 MB / 0.6355 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.009285/7.352, allocations: 2.191 MB / 2.456 GB, free: 57.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/7.352, allocations: 9.156 kB / 2.456 GB, free: 57.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/7.356, allocations: 0.6041 MB / 2.456 GB, free: 57.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006326/7.362, allocations: 1.456 MB / 2.458 GB, free: 56.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/7.363, allocations: 80.67 kB / 2.458 GB, free: 56.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005905/7.363, allocations: 111.1 kB / 2.458 GB, free: 56.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/7.368, allocations: 1.38 MB / 2.459 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/7.368, allocations: 8.656 kB / 2.459 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/7.368, allocations: 45.42 kB / 2.459 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/7.368, allocations: 28.27 kB / 2.459 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/7.372, allocations: 1.24 MB / 2.461 GB, free: 56.47 MB / 0.6355 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.009977/7.382, allocations: 6.638 MB / 2.467 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/7.385, allocations: 1.265 MB / 2.468 GB, free: 52.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/7.387, allocations: 2.252 MB / 2.47 GB, free: 50.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/7.389, allocations: 0.8373 MB / 2.471 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 2.876e-06/7.389, allocations: 0 / 2.471 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.006038/7.395, allocations: 2.466 MB / 2.474 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/7.395, allocations: 150.2 kB / 2.474 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/7.397, allocations: 1.052 MB / 2.475 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/7.397, allocations: 51.77 kB / 2.475 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/7.398, allocations: 0.7013 MB / 2.476 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/7.398, allocations: 323.9 kB / 2.476 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/7.398, allocations: 21.38 kB / 2.476 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/7.398, allocations: 348.5 kB / 2.476 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/7.4, allocations: 0.5794 MB / 2.477 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/7.402, allocations: 0.8713 MB / 2.478 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/7.403, allocations: 0.7251 MB / 2.478 GB, free: 48.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/7.403, allocations: 3.109 kB / 2.478 GB, free: 48.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004922/7.408, allocations: 1.847 MB / 2.48 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005912/7.409, allocations: 2.246 MB / 2.482 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/7.409, allocations: 5.031 kB / 2.482 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/7.409, allocations: 10.91 kB / 2.482 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/7.411, allocations: 292.5 kB / 2.483 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/7.411, allocations: 13.66 kB / 2.483 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/7.413, allocations: 247.2 kB / 2.483 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/7.413, allocations: 65.92 kB / 2.483 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/7.413, allocations: 3.656 kB / 2.483 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004039/7.417, allocations: 1.751 MB / 2.485 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/7.417, allocations: 3.844 kB / 2.485 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/7.417, allocations: 15.58 kB / 2.485 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/7.418, allocations: 287.4 kB / 2.485 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/7.418, allocations: 20.16 kB / 2.485 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/7.421, allocations: 238.7 kB / 2.485 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/7.421, allocations: 66.94 kB / 2.485 GB, free: 45.2 MB / 0.6355 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.001174/7.422, allocations: 0.4981 MB / 2.486 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/7.422, allocations: 161 kB / 2.486 GB, free: 44.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005632/7.428, allocations: 2.344 MB / 2.488 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.253e-05/7.428, allocations: 18.42 kB / 2.488 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/7.428, allocations: 1.219 kB / 2.488 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/7.428, allocations: 3.562 kB / 2.488 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/7.435, allocations: 3.685 MB / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/7.436, allocations: 0 / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/7.437, allocations: 229.2 kB / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/7.437, allocations: 3.938 kB / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/7.437, allocations: 52.92 kB / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/7.437, allocations: 4.656 kB / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/7.437, allocations: 0 / 2.492 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/7.443, allocations: 3.215 MB / 2.495 GB, free: 43.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/7.444, allocations: 399 kB / 2.496 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/7.444, allocations: 29.69 kB / 2.496 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/7.445, allocations: 176.7 kB / 2.496 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/7.445, allocations: 75.58 kB / 2.496 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/7.445, allocations: 52.05 kB / 2.496 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001224/7.447, allocations: 0.8208 MB / 2.497 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/7.447, allocations: 0 / 2.497 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002873/7.45, allocations: 0.9152 MB / 2.498 GB, free: 43.16 MB / 0.6355 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.001783/7.451, allocations: 0.9879 MB / 2.499 GB, free: 42.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005276/7.457, allocations: 2.776 MB / 2.501 GB, free: 42.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/7.457, allocations: 0 / 2.501 GB, free: 42.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/7.458, allocations: 1.073 MB / 2.502 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/7.461, allocations: 0.6028 MB / 2.503 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/7.467, allocations: 3.946 MB / 2.507 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/7.468, allocations: 1.306 MB / 2.508 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001881/7.47, allocations: 414 kB / 2.508 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/7.47, allocations: 139.4 kB / 2.509 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/7.47, allocations: 0 / 2.509 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.05111/7.521, allocations: 33.78 MB / 2.542 GB, free: 38.02 MB / 0.6355 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)