Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet",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 1.001/1.001, allocations: 141.8 MB / 149.3 MB, free: 9.176 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.001133/0.001133, allocations: 180.8 kB / 182.2 MB, free: 9.398 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.564/1.564, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009827/0.0009826, allocations: 95.62 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 282.4 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.563e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4844, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9209/1.405, allocations: 360.5 MB / 1.109 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.406, allocations: 86.45 kB / 1.11 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.089/5.494, allocations: 0.9485 GB / 2.058 GB, free: 94.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/5.494, allocations: 0 / 2.058 GB, free: 94.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001605/5.495, allocations: 54.44 kB / 2.058 GB, free: 94.71 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.003787/5.498, allocations: 1.874 MB / 2.06 GB, free: 93.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/5.498, allocations: 11.08 kB / 2.06 GB, free: 93.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/5.502, allocations: 0.6113 MB / 2.061 GB, free: 93.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/5.505, allocations: 1.467 MB / 2.062 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/5.505, allocations: 34.03 kB / 2.062 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/5.505, allocations: 68.88 kB / 2.062 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/5.507, allocations: 0.8642 MB / 2.063 GB, free: 93.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/5.508, allocations: 1.045 MB / 2.064 GB, free: 93.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/5.508, allocations: 3.469 kB / 2.064 GB, free: 93.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/5.509, allocations: 8.312 kB / 2.064 GB, free: 93.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/5.509, allocations: 21.88 kB / 2.064 GB, free: 93.1 MB / 0.698 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.007515/5.516, allocations: 6.24 MB / 2.07 GB, free: 89.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/5.517, allocations: 0.9112 MB / 2.071 GB, free: 89.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/5.518, allocations: 0.5007 MB / 2.071 GB, free: 89.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/5.519, allocations: 2.265 MB / 2.074 GB, free: 86.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008204/5.52, allocations: 0.6525 MB / 2.074 GB, free: 86.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.887e-06/5.52, allocations: 0.6562 kB / 2.074 GB, free: 86.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.003562/5.524, allocations: 1.462 MB / 2.076 GB, free: 86.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/5.524, allocations: 140.7 kB / 2.076 GB, free: 86.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/5.525, allocations: 0.891 MB / 2.077 GB, free: 86.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/5.525, allocations: 32.58 kB / 2.077 GB, free: 86.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/5.526, allocations: 0.7097 MB / 2.077 GB, free: 86.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/5.526, allocations: 314.6 kB / 2.078 GB, free: 85.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/5.526, allocations: 0 / 2.078 GB, free: 85.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001104/5.527, allocations: 348.7 kB / 2.078 GB, free: 85.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/5.527, allocations: 406.4 kB / 2.078 GB, free: 85.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/5.528, allocations: 0.6551 MB / 2.079 GB, free: 85.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/5.53, allocations: 0.6973 MB / 2.08 GB, free: 85.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/5.53, allocations: 0 / 2.08 GB, free: 85.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003534/5.534, allocations: 1.574 MB / 2.081 GB, free: 85.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005509/5.534, allocations: 1.703 MB / 2.083 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/5.534, allocations: 8.5 kB / 2.083 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/5.534, allocations: 7.781 kB / 2.083 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/5.535, allocations: 284.7 kB / 2.083 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/5.535, allocations: 14.42 kB / 2.083 GB, free: 83.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/5.537, allocations: 202.1 kB / 2.083 GB, free: 83.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/5.538, allocations: 64.92 kB / 2.084 GB, free: 83.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/5.538, allocations: 3.875 kB / 2.084 GB, free: 83.28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003367/5.541, allocations: 1.442 MB / 2.085 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/5.541, allocations: 3.844 kB / 2.085 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/5.541, allocations: 8.969 kB / 2.085 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/5.542, allocations: 281.8 kB / 2.085 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/5.542, allocations: 10.53 kB / 2.085 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/5.544, allocations: 196.7 kB / 2.085 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/5.544, allocations: 67.31 kB / 2.085 GB, free: 83.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.0004223/5.545, allocations: 248.8 kB / 2.086 GB, free: 83 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003586/5.548, allocations: 1.504 MB / 2.087 GB, free: 82.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/5.549, allocations: 150.5 kB / 2.087 GB, free: 82.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/5.553, allocations: 2.063 MB / 2.089 GB, free: 82.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/5.553, allocations: 18.58 kB / 2.089 GB, free: 82.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/5.553, allocations: 1.031 kB / 2.089 GB, free: 82.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/5.553, allocations: 6.375 kB / 2.089 GB, free: 82.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/5.56, allocations: 3.286 MB / 2.093 GB, free: 82.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/5.56, allocations: 0 / 2.093 GB, free: 82.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/5.561, allocations: 233.7 kB / 2.093 GB, free: 82.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/5.561, allocations: 11.86 kB / 2.093 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/5.561, allocations: 30.41 kB / 2.093 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/5.561, allocations: 10.5 kB / 2.093 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/5.561, allocations: 0 / 2.093 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/5.566, allocations: 2.751 MB / 2.096 GB, free: 81.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/5.567, allocations: 402.3 kB / 2.096 GB, free: 81.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/5.567, allocations: 19.72 kB / 2.096 GB, free: 81.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/5.569, allocations: 158.4 kB / 2.096 GB, free: 81.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/5.569, allocations: 73.25 kB / 2.096 GB, free: 81.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/5.569, allocations: 58.47 kB / 2.096 GB, free: 81.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00137/5.571, allocations: 0.6798 MB / 2.097 GB, free: 81.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/5.571, allocations: 0 / 2.097 GB, free: 81.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004796/5.575, allocations: 0.8896 MB / 2.098 GB, free: 81.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (104): * Single equations (assignments): 82 * 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.009837/5.585, allocations: 4.39 MB / 2.102 GB, free: 79.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004587/5.59, allocations: 2.213 MB / 2.104 GB, free: 79.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/5.59, allocations: 0 / 2.104 GB, free: 79.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/5.591, allocations: 0.8873 MB / 2.105 GB, free: 79.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/5.596, allocations: 0.5433 MB / 2.106 GB, free: 79.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/5.604, allocations: 2.779 MB / 2.108 GB, free: 78.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/5.605, allocations: 1.317 MB / 2.11 GB, free: 77.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003062/5.609, allocations: 482.7 kB / 2.11 GB, free: 77.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/5.61, allocations: 0.6509 MB / 2.111 GB, free: 77.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/5.61, allocations: 0 / 2.111 GB, free: 77.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/5.725, allocations: 45.72 MB / 2.155 GB, free: 66.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/5.725, allocations: 195.5 kB / 2.156 GB, free: 66.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.488/10.21, allocations: 0 / 2.156 GB, free: 66.45 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)