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 0.8555/0.8555, allocations: 143.3 MB / 158.3 MB, free: 5.738 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.001285/0.001285, allocations: 189 kB / 191.5 MB, free: 5.738 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.635/1.635, allocations: 223.2 MB / 447.7 MB, free: 4.773 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.0009787/0.0009786, allocations: 92.31 kB / 0.5187 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 272.5 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 13.09 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1985, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8476/1.046, allocations: 361.2 MB / 1.127 GB, free: 9.016 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/1.047, allocations: 88.69 kB / 1.127 GB, free: 8.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.676/4.723, allocations: 0.956 GB / 2.083 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/4.723, allocations: 0 / 2.083 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000157/4.723, allocations: 54.17 kB / 2.083 GB, free: 97.88 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.004969/4.728, allocations: 2.205 MB / 2.085 GB, free: 96.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/4.728, allocations: 14.25 kB / 2.085 GB, free: 96.84 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002629/4.728, allocations: 154.1 kB / 2.085 GB, free: 96.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/4.731, allocations: 0.6094 MB / 2.086 GB, free: 96.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/4.735, allocations: 1.486 MB / 2.087 GB, free: 96.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/4.735, allocations: 79.62 kB / 2.087 GB, free: 96.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/4.735, allocations: 113.9 kB / 2.087 GB, free: 96.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/4.738, allocations: 1.363 MB / 2.089 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/4.738, allocations: 5.125 kB / 2.089 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/4.738, allocations: 45 kB / 2.089 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/4.738, allocations: 31.72 kB / 2.089 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/4.741, allocations: 1.26 MB / 2.09 GB, free: 96.07 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.008162/4.749, allocations: 6.434 MB / 2.096 GB, free: 92.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/4.752, allocations: 1.276 MB / 2.097 GB, free: 92.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/4.753, allocations: 2.26 MB / 2.1 GB, free: 89.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/4.755, allocations: 0.8514 MB / 2.1 GB, free: 89.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=100): time 4.198e-06/4.755, allocations: 1.031 kB / 2.1 GB, free: 89.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100): time 0.005158/4.76, allocations: 2.498 MB / 2.103 GB, free: 89.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/4.76, allocations: 148.1 kB / 2.103 GB, free: 89.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/4.761, allocations: 1.056 MB / 2.104 GB, free: 88.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/4.762, allocations: 49.45 kB / 2.104 GB, free: 88.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/4.762, allocations: 0.6885 MB / 2.105 GB, free: 88.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/4.762, allocations: 340.4 kB / 2.105 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/4.762, allocations: 19.25 kB / 2.105 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/4.763, allocations: 342.2 kB / 2.105 GB, free: 88.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/4.764, allocations: 0.5896 MB / 2.106 GB, free: 88.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/4.765, allocations: 0.8463 MB / 2.107 GB, free: 87.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/4.767, allocations: 0.7071 MB / 2.108 GB, free: 87.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/4.767, allocations: 3.188 kB / 2.108 GB, free: 87.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003772/4.771, allocations: 1.815 MB / 2.109 GB, free: 87.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003497/4.771, allocations: 1.716 MB / 2.111 GB, free: 85.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/4.771, allocations: 3.969 kB / 2.111 GB, free: 85.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/4.771, allocations: 14.7 kB / 2.111 GB, free: 85.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/4.772, allocations: 279.8 kB / 2.111 GB, free: 85.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/4.772, allocations: 14.53 kB / 2.111 GB, free: 85.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/4.774, allocations: 234.9 kB / 2.112 GB, free: 85.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/4.774, allocations: 66.02 kB / 2.112 GB, free: 85.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/4.774, allocations: 3.625 kB / 2.112 GB, free: 85.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003567/4.778, allocations: 1.711 MB / 2.113 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/4.778, allocations: 9.328 kB / 2.113 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/4.778, allocations: 9.312 kB / 2.113 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/4.779, allocations: 279.5 kB / 2.114 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/4.779, allocations: 10.12 kB / 2.114 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/4.781, allocations: 230.6 kB / 2.114 GB, free: 85.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/4.781, allocations: 64.88 kB / 2.114 GB, free: 85.48 MB / 0.7136 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 () * Number of clocked 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.0007559/4.782, allocations: 0.4956 MB / 2.114 GB, free: 85.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/4.782, allocations: 162.2 kB / 2.114 GB, free: 85.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/4.786, allocations: 2.381 MB / 2.117 GB, free: 84.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/4.786, allocations: 18.16 kB / 2.117 GB, free: 84.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/4.786, allocations: 0 / 2.117 GB, free: 84.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/4.786, allocations: 12.31 kB / 2.117 GB, free: 84.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/4.793, allocations: 3.731 MB / 2.12 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/4.793, allocations: 3.594 kB / 2.12 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/4.794, allocations: 232.6 kB / 2.121 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/4.794, allocations: 7.328 kB / 2.121 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/4.794, allocations: 47.5 kB / 2.121 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/4.794, allocations: 10.09 kB / 2.121 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/4.794, allocations: 0 / 2.121 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/4.8, allocations: 3.246 MB / 2.124 GB, free: 83.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/4.801, allocations: 414 kB / 2.124 GB, free: 83.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/4.801, allocations: 27.59 kB / 2.124 GB, free: 83.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/4.802, allocations: 178.4 kB / 2.125 GB, free: 83.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/4.802, allocations: 72.44 kB / 2.125 GB, free: 83.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/4.803, allocations: 53.72 kB / 2.125 GB, free: 83.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001221/4.804, allocations: 0.8183 MB / 2.125 GB, free: 83.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/4.804, allocations: 0 / 2.125 GB, free: 83.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002856/4.807, allocations: 0.9196 MB / 2.126 GB, free: 83.44 MB / 0.7136 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) * Number of clocked states: 0 () * 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.007202/4.814, allocations: 4.905 MB / 2.131 GB, free: 81.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005017/4.819, allocations: 2.758 MB / 2.134 GB, free: 81.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/4.819, allocations: 3.844 kB / 2.134 GB, free: 81.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/4.821, allocations: 1.083 MB / 2.135 GB, free: 81.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/4.824, allocations: 0.6268 MB / 2.135 GB, free: 81.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/4.84, allocations: 12.9 MB / 2.148 GB, free: 75.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/4.841, allocations: 1.311 MB / 2.149 GB, free: 74.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001739/4.843, allocations: 420.7 kB / 2.15 GB, free: 74.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/4.843, allocations: 0.6626 MB / 2.15 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/4.843, allocations: 0 / 2.15 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07636/4.92, allocations: 50.82 MB / 2.2 GB, free: 58.72 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/4.92, allocations: 242 kB / 2.2 GB, free: 58.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.859/8.779, allocations: 0 / 2.2 GB, free: 58.48 MB / 0.7136 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)