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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.8365/0.8365, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 183.6 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.5 MB / 436.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 87.53 kB / 0.5074 GB, free: 10.22 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 290.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.879e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4797, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8381/1.318, allocations: 360.7 MB / 1.11 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.318, allocations: 98 kB / 1.11 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.316/7.634, allocations: 1.529 GB / 2.639 GB, free: 106 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.496e-06/7.635, allocations: 2.516 kB / 2.639 GB, free: 106 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003687/7.635, allocations: 56.73 kB / 2.639 GB, free: 105.9 MB / 0.7136 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.00718/7.642, allocations: 1.877 MB / 2.641 GB, free: 105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.628e-05/7.642, allocations: 13.53 kB / 2.641 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/7.647, allocations: 0.6115 MB / 2.641 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007034/7.654, allocations: 1.481 MB / 2.643 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/7.654, allocations: 32.09 kB / 2.643 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003763/7.654, allocations: 72.81 kB / 2.643 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002844/7.657, allocations: 0.8289 MB / 2.644 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/7.66, allocations: 1.053 MB / 2.645 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/7.66, allocations: 6.406 kB / 2.645 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/7.661, allocations: 7.531 kB / 2.645 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/7.661, allocations: 24.81 kB / 2.645 GB, free: 104.2 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01157/7.672, allocations: 6.466 MB / 2.651 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/7.674, allocations: 0.8944 MB / 2.652 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/7.674, allocations: 497.3 kB / 2.652 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/7.676, allocations: 2.261 MB / 2.655 GB, free: 97.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/7.677, allocations: 0.6376 MB / 2.655 GB, free: 97.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 2.966e-06/7.677, allocations: 0 / 2.655 GB, free: 97.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.003498/7.68, allocations: 1.4 MB / 2.657 GB, free: 97.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/7.68, allocations: 149.5 kB / 2.657 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/7.682, allocations: 0.9077 MB / 2.658 GB, free: 97.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/7.682, allocations: 33.36 kB / 2.658 GB, free: 97.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/7.682, allocations: 0.723 MB / 2.658 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/7.683, allocations: 303.9 kB / 2.659 GB, free: 96.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/7.683, allocations: 5.656 kB / 2.659 GB, free: 96.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001088/7.683, allocations: 350.1 kB / 2.659 GB, free: 96.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/7.683, allocations: 409.1 kB / 2.659 GB, free: 96.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/7.684, allocations: 0.6952 MB / 2.66 GB, free: 96.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/7.686, allocations: 0.6741 MB / 2.661 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/7.686, allocations: 0 / 2.661 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003141/7.689, allocations: 1.565 MB / 2.662 GB, free: 95.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005463/7.69, allocations: 2.235 MB / 2.665 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/7.69, allocations: 7.344 kB / 2.665 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/7.69, allocations: 15.05 kB / 2.665 GB, free: 93.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/7.691, allocations: 292.2 kB / 2.665 GB, free: 93.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/7.691, allocations: 17.45 kB / 2.665 GB, free: 93.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/7.693, allocations: 215.2 kB / 2.665 GB, free: 93.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/7.693, allocations: 62.44 kB / 2.665 GB, free: 93.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/7.693, allocations: 6.344 kB / 2.665 GB, free: 93.56 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003052/7.696, allocations: 1.429 MB / 2.666 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/7.696, allocations: 3.969 kB / 2.666 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/7.696, allocations: 15.69 kB / 2.667 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/7.697, allocations: 295.3 kB / 2.667 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/7.697, allocations: 10.09 kB / 2.667 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/7.699, allocations: 210.3 kB / 2.667 GB, free: 93.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/7.699, allocations: 59.75 kB / 2.667 GB, free: 93.5 MB / 0.7136 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 () * 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.0003925/7.7, allocations: 250.7 kB / 2.667 GB, free: 93.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/7.7, allocations: 164.2 kB / 2.667 GB, free: 93.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/7.704, allocations: 1.994 MB / 2.669 GB, free: 93.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/7.705, allocations: 16.73 kB / 2.669 GB, free: 93.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/7.705, allocations: 2.125 kB / 2.669 GB, free: 93.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/7.705, allocations: 9.391 kB / 2.669 GB, free: 93.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006461/7.711, allocations: 3.2 MB / 2.673 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/7.711, allocations: 3.688 kB / 2.673 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/7.712, allocations: 224 kB / 2.673 GB, free: 92.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/7.712, allocations: 6.812 kB / 2.673 GB, free: 92.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/7.712, allocations: 40.94 kB / 2.673 GB, free: 92.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/7.712, allocations: 8.516 kB / 2.673 GB, free: 92.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/7.712, allocations: 0 / 2.673 GB, free: 92.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/7.717, allocations: 2.68 MB / 2.675 GB, free: 92.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/7.718, allocations: 395.2 kB / 2.676 GB, free: 91.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/7.718, allocations: 11.81 kB / 2.676 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/7.72, allocations: 158.4 kB / 2.676 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/7.72, allocations: 75.94 kB / 2.676 GB, free: 91.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/7.72, allocations: 50.38 kB / 2.676 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001249/7.722, allocations: 0.6901 MB / 2.677 GB, free: 91.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/7.722, allocations: 0 / 2.677 GB, free: 91.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003453/7.725, allocations: 0.8901 MB / 2.678 GB, free: 91.26 MB / 0.7136 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) * 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.002266/7.727, allocations: 0.9866 MB / 2.679 GB, free: 90.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003069/7.73, allocations: 2.216 MB / 2.681 GB, free: 89.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.73, allocations: 0 / 2.681 GB, free: 89.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/7.731, allocations: 0.8717 MB / 2.682 GB, free: 89.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/7.734, allocations: 0.5448 MB / 2.682 GB, free: 89.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/7.74, allocations: 2.622 MB / 2.685 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/7.741, allocations: 1.316 MB / 2.686 GB, free: 87.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002571/7.743, allocations: 490.3 kB / 2.686 GB, free: 87.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/7.744, allocations: 112.8 kB / 2.687 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/7.744, allocations: 0 / 2.687 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.05463/7.798, allocations: 31.86 MB / 2.718 GB, free: 63.61 MB / 0.7136 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)