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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8885/0.8885, allocations: 143.3 MB / 158.3 MB, free: 5.629 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.001238/0.001237, allocations: 177 kB / 191.5 MB, free: 5.648 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.537/1.537, allocations: 223.2 MB / 447.7 MB, free: 4.875 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.001111/0.001111, allocations: 100.2 kB / 0.5188 GB, free: 1.223 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 275.6 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004548, allocations: 17.42 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1948, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8239/1.019, allocations: 361.4 MB / 1.127 GB, free: 9.602 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.019, allocations: 88.39 kB / 1.127 GB, free: 9.555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691/6.71, allocations: 1.541 GB / 2.668 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/6.71, allocations: 3.828 kB / 2.668 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002151/6.71, allocations: 51.06 kB / 2.668 GB, free: 84.51 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.005273/6.716, allocations: 2.209 MB / 2.67 GB, free: 82.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/6.716, allocations: 9.5 kB / 2.67 GB, free: 82.92 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002661/6.716, allocations: 155.2 kB / 2.67 GB, free: 82.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/6.719, allocations: 0.6132 MB / 2.671 GB, free: 82.56 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/6.723, allocations: 1.497 MB / 2.672 GB, free: 81.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/6.723, allocations: 79.94 kB / 2.672 GB, free: 81.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/6.723, allocations: 119.7 kB / 2.672 GB, free: 81.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/6.726, allocations: 1.377 MB / 2.674 GB, free: 80.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/6.726, allocations: 3.938 kB / 2.674 GB, free: 80.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/6.726, allocations: 44 kB / 2.674 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/6.726, allocations: 24 kB / 2.674 GB, free: 80.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/6.729, allocations: 1.245 MB / 2.675 GB, free: 79.22 MB / 0.7136 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.008605/6.738, allocations: 6.655 MB / 2.681 GB, free: 72.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/6.74, allocations: 1.255 MB / 2.683 GB, free: 70.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/6.742, allocations: 2.262 MB / 2.685 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/6.743, allocations: 0.8416 MB / 2.686 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 4.779e-06/6.743, allocations: 0 / 2.686 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.005169/6.749, allocations: 2.471 MB / 2.688 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/6.749, allocations: 145.2 kB / 2.688 GB, free: 64.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/6.75, allocations: 1.071 MB / 2.689 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/6.75, allocations: 45.7 kB / 2.689 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/6.751, allocations: 0.7081 MB / 2.69 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/6.751, allocations: 323.3 kB / 2.69 GB, free: 62.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/6.751, allocations: 24 kB / 2.69 GB, free: 62.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/6.751, allocations: 341.9 kB / 2.691 GB, free: 62.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/6.753, allocations: 0.5839 MB / 2.691 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/6.754, allocations: 0.9017 MB / 2.692 GB, free: 60.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/6.755, allocations: 0.7145 MB / 2.693 GB, free: 59.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/6.755, allocations: 0 / 2.693 GB, free: 59.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003644/6.759, allocations: 1.842 MB / 2.695 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004826/6.76, allocations: 2.259 MB / 2.697 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/6.76, allocations: 8 kB / 2.697 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/6.76, allocations: 11.06 kB / 2.697 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/6.761, allocations: 295.6 kB / 2.697 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/6.761, allocations: 15.94 kB / 2.697 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/6.763, allocations: 246.8 kB / 2.697 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/6.763, allocations: 67.95 kB / 2.697 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/6.763, allocations: 4 kB / 2.697 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00335/6.766, allocations: 1.741 MB / 2.699 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/6.766, allocations: 8.719 kB / 2.699 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/6.766, allocations: 8 kB / 2.699 GB, free: 52.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/6.767, allocations: 295.5 kB / 2.699 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/6.767, allocations: 8 kB / 2.699 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/6.769, allocations: 238.9 kB / 2.7 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/6.769, allocations: 67.97 kB / 2.7 GB, free: 52.34 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 () * 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.0008529/6.77, allocations: 0.509 MB / 2.7 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/6.77, allocations: 170 kB / 2.7 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/6.775, allocations: 2.333 MB / 2.703 GB, free: 49.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/6.775, allocations: 23.16 kB / 2.703 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/6.775, allocations: 0 / 2.703 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/6.775, allocations: 7.922 kB / 2.703 GB, free: 49.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005982/6.781, allocations: 3.689 MB / 2.706 GB, free: 45.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/6.781, allocations: 4 kB / 2.706 GB, free: 45.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/6.782, allocations: 230.3 kB / 2.706 GB, free: 45.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/6.782, allocations: 4 kB / 2.706 GB, free: 45.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/6.782, allocations: 43.47 kB / 2.707 GB, free: 45.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.465e-05/6.782, allocations: 8 kB / 2.707 GB, free: 45.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/6.782, allocations: 11.77 kB / 2.707 GB, free: 45.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/6.787, allocations: 3.209 MB / 2.71 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008928/6.788, allocations: 406.5 kB / 2.71 GB, free: 41.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/6.788, allocations: 30.95 kB / 2.71 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/6.79, allocations: 176.9 kB / 2.71 GB, free: 41.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/6.79, allocations: 68.94 kB / 2.71 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/6.79, allocations: 55.97 kB / 2.71 GB, free: 41.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001075/6.791, allocations: 0.8309 MB / 2.711 GB, free: 40.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/6.791, allocations: 4 kB / 2.711 GB, free: 40.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002511/6.793, allocations: 0.9273 MB / 2.712 GB, free: 39.45 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) * 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.007022/6.801, allocations: 4.855 MB / 2.717 GB, free: 34.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004951/6.806, allocations: 2.767 MB / 2.72 GB, free: 31.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/6.806, allocations: 0 / 2.72 GB, free: 31.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/6.807, allocations: 1.078 MB / 2.721 GB, free: 30.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/6.811, allocations: 0.619 MB / 2.721 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/6.827, allocations: 14.12 MB / 2.735 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/6.828, allocations: 1.314 MB / 2.736 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001657/6.83, allocations: 424.9 kB / 2.737 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/6.83, allocations: 0.6633 MB / 2.737 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/6.83, allocations: 0 / 2.737 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5305/7.361, allocations: 51.09 MB / 2.787 GB, free: 111 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/7.361, allocations: 257.5 kB / 2.787 GB, free: 110.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.317/11.68, allocations: 8.438 kB / 2.787 GB, free: 110.7 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)