Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8284/0.8284, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 179 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001191, allocations: 90.34 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001753/0.001753, allocations: 271.5 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004623, allocations: 16 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.451, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8363/1.287, allocations: 359.4 MB / 1.09 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.288, allocations: 91.39 kB / 1.091 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.249/6.536, allocations: 1.501 GB / 2.592 GB, free: 107.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/6.537, allocations: 0 / 2.592 GB, free: 107.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002583/6.537, allocations: 53.17 kB / 2.592 GB, free: 107.3 MB / 0.698 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.00563/6.542, allocations: 2.195 MB / 2.594 GB, free: 106.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/6.542, allocations: 9.406 kB / 2.594 GB, free: 106.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/6.546, allocations: 0.611 MB / 2.595 GB, free: 106 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/6.55, allocations: 1.554 MB / 2.596 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/6.55, allocations: 81.39 kB / 2.596 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/6.55, allocations: 120 kB / 2.597 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/6.553, allocations: 1.376 MB / 2.598 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/6.553, allocations: 5.656 kB / 2.598 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/6.554, allocations: 48.39 kB / 2.598 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/6.554, allocations: 25.78 kB / 2.598 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/6.557, allocations: 1.238 MB / 2.599 GB, free: 105.3 MB / 0.698 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.00845/6.565, allocations: 6.658 MB / 2.606 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/6.568, allocations: 1.24 MB / 2.607 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/6.569, allocations: 0.6835 MB / 2.608 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/6.571, allocations: 2.264 MB / 2.61 GB, free: 98.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/6.572, allocations: 0.8336 MB / 2.611 GB, free: 97.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 4.598e-06/6.572, allocations: 3.938 kB / 2.611 GB, free: 97.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.005068/6.578, allocations: 2.237 MB / 2.613 GB, free: 96.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/6.578, allocations: 147.6 kB / 2.613 GB, free: 96.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/6.58, allocations: 1.233 MB / 2.614 GB, free: 95.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/6.58, allocations: 45.3 kB / 2.614 GB, free: 95.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/6.581, allocations: 0.7216 MB / 2.615 GB, free: 95.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/6.581, allocations: 311.3 kB / 2.615 GB, free: 94.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/6.581, allocations: 22.38 kB / 2.615 GB, free: 94.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/6.581, allocations: 348.8 kB / 2.616 GB, free: 94.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/6.583, allocations: 0.5854 MB / 2.616 GB, free: 94.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/6.584, allocations: 0.8969 MB / 2.617 GB, free: 93.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/6.587, allocations: 1.534 MB / 2.618 GB, free: 92.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/6.587, allocations: 3.75 kB / 2.618 GB, free: 92.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003973/6.591, allocations: 1.849 MB / 2.62 GB, free: 91.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/6.591, allocations: 350.6 kB / 2.621 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/6.591, allocations: 13.67 kB / 2.621 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/6.591, allocations: 7.781 kB / 2.621 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/6.592, allocations: 297.9 kB / 2.621 GB, free: 91.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/6.592, allocations: 19.27 kB / 2.621 GB, free: 91.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/6.594, allocations: 243.6 kB / 2.621 GB, free: 91.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/6.594, allocations: 66.25 kB / 2.621 GB, free: 91.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/6.595, allocations: 7.891 kB / 2.621 GB, free: 91.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003522/6.598, allocations: 1.752 MB / 2.623 GB, free: 90.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/6.598, allocations: 4 kB / 2.623 GB, free: 90.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/6.598, allocations: 12 kB / 2.623 GB, free: 90.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/6.599, allocations: 287.7 kB / 2.623 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.02e-05/6.599, allocations: 15.94 kB / 2.623 GB, free: 90.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/6.601, allocations: 242.9 kB / 2.623 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/6.601, allocations: 67.97 kB / 2.624 GB, free: 89.85 MB / 0.698 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.0008928/6.602, allocations: 0.4978 MB / 2.624 GB, free: 89.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/6.603, allocations: 166 kB / 2.624 GB, free: 89.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/6.608, allocations: 2.346 MB / 2.626 GB, free: 86.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/6.608, allocations: 19.98 kB / 2.627 GB, free: 86.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/6.608, allocations: 0 / 2.627 GB, free: 86.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/6.608, allocations: 3.984 kB / 2.627 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00758/6.615, allocations: 3.706 MB / 2.63 GB, free: 83.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/6.615, allocations: 7.75 kB / 2.63 GB, free: 83.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/6.616, allocations: 223.9 kB / 2.63 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/6.616, allocations: 15.94 kB / 2.63 GB, free: 82.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/6.617, allocations: 43.97 kB / 2.63 GB, free: 82.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/6.617, allocations: 7.938 kB / 2.63 GB, free: 82.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/6.617, allocations: 0 / 2.63 GB, free: 82.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/6.622, allocations: 3.142 MB / 2.633 GB, free: 79.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/6.624, allocations: 402.5 kB / 2.634 GB, free: 79.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005515/6.624, allocations: 28 kB / 2.634 GB, free: 79.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/6.626, allocations: 175.7 kB / 2.634 GB, free: 78.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/6.626, allocations: 72.89 kB / 2.634 GB, free: 78.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/6.626, allocations: 58.47 kB / 2.634 GB, free: 78.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001684/6.628, allocations: 0.8277 MB / 2.635 GB, free: 77.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/6.628, allocations: 0 / 2.635 GB, free: 77.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003588/6.632, allocations: 0.9267 MB / 2.636 GB, free: 77.06 MB / 0.698 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.002196/6.634, allocations: 0.9836 MB / 2.637 GB, free: 76.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005529/6.639, allocations: 2.768 MB / 2.64 GB, free: 73.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.64, allocations: 0 / 2.64 GB, free: 73.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/6.641, allocations: 1.066 MB / 2.641 GB, free: 72.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/6.645, allocations: 0.6418 MB / 2.641 GB, free: 71.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/6.652, allocations: 3.974 MB / 2.645 GB, free: 67.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/6.653, allocations: 1.283 MB / 2.646 GB, free: 66.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001998/6.655, allocations: 425.9 kB / 2.647 GB, free: 66.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/6.655, allocations: 135.4 kB / 2.647 GB, free: 65.91 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/6.655, allocations: 0 / 2.647 GB, free: 65.91 MB / 0.698 GB Notification: Performance of Templates: time 0.05373/6.709, allocations: 34.91 MB / 2.681 GB, free: 31.92 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)