Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.8799/0.8799, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001135/0.001135, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.598/1.598, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009016/0.0009016, allocations: 88.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001772, allocations: 279.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.654e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4777, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9288/1.407, allocations: 393.9 MB / 1.142 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.407, allocations: 66.52 kB / 1.142 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04338/1.45, allocations: 18.97 MB / 1.161 GB, free: 5.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/1.45, allocations: 0 / 1.161 GB, free: 5.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.146e-06/1.45, allocations: 0 / 1.161 GB, free: 5.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004689/1.451, allocations: 362.2 kB / 1.161 GB, free: 4.855 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.451, allocations: 11.97 kB / 1.161 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/1.451, allocations: 4 kB / 1.161 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/1.451, allocations: 163 kB / 1.161 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/1.451, allocations: 33.62 kB / 1.161 GB, free: 4.602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/1.451, allocations: 4 kB / 1.161 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.659e-05/1.451, allocations: 7.75 kB / 1.161 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/1.451, allocations: 41.67 kB / 1.161 GB, free: 4.547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.451, allocations: 0 / 1.161 GB, free: 4.547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.451, allocations: 0 / 1.161 GB, free: 4.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/1.451, allocations: 8 kB / 1.161 GB, free: 4.539 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/1.452, allocations: 318.2 kB / 1.162 GB, free: 4.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.581e-05/1.452, allocations: 18.58 kB / 1.162 GB, free: 4.152 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/1.452, allocations: 4.859 kB / 1.162 GB, free: 4.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/1.452, allocations: 85.16 kB / 1.162 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.452, allocations: 38.38 kB / 1.162 GB, free: 4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/1.452, allocations: 0 / 1.162 GB, free: 4 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/1.452, allocations: 33.7 kB / 1.162 GB, free: 3.961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.452, allocations: 51.41 kB / 1.162 GB, free: 3.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/1.452, allocations: 92.98 kB / 1.162 GB, free: 3.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/1.452, allocations: 29.64 kB / 1.162 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/1.453, allocations: 91.67 kB / 1.162 GB, free: 3.676 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/1.453, allocations: 0 / 1.162 GB, free: 3.676 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.453, allocations: 4.031 kB / 1.162 GB, free: 3.672 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.453, allocations: 310.8 kB / 1.162 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/1.453, allocations: 7.75 kB / 1.162 GB, free: 3.355 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/1.453, allocations: 17.7 kB / 1.162 GB, free: 3.332 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/1.453, allocations: 7.953 kB / 1.162 GB, free: 3.324 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.453, allocations: 0 / 1.162 GB, free: 3.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001162/1.453, allocations: 57.47 kB / 1.162 GB, free: 3.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.453, allocations: 11.94 kB / 1.162 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.453, allocations: 0 / 1.162 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.453, allocations: 0 / 1.162 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/1.453, allocations: 4 kB / 1.162 GB, free: 3.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.453, allocations: 4 kB / 1.162 GB, free: 3.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/1.453, allocations: 7.922 kB / 1.162 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/1.453, allocations: 0 / 1.162 GB, free: 3.238 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 8.983e-05/1.453, allocations: 108.9 kB / 1.163 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.819e-05/1.453, allocations: 33.7 kB / 1.163 GB, free: 3.086 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/1.453, allocations: 4 kB / 1.163 GB, free: 3.082 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/1.453, allocations: 125.5 kB / 1.163 GB, free: 2.953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/1.454, allocations: 180.2 kB / 1.163 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-05/1.454, allocations: 176.3 kB / 1.163 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.33e-05/1.454, allocations: 180.2 kB / 1.163 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.454, allocations: 389.8 kB / 1.164 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/1.454, allocations: 101 kB / 1.164 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/1.454, allocations: 116.5 kB / 1.164 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.533e-05/1.454, allocations: 180.3 kB / 1.164 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/1.454, allocations: 176.3 kB / 1.164 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.124e-05/1.454, allocations: 188.3 kB / 1.164 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.003e-05/1.454, allocations: 176.3 kB / 1.164 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.455, allocations: 315.5 kB / 1.165 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.455, allocations: 182.1 kB / 1.165 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.455, allocations: 180.2 kB / 1.165 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/1.455, allocations: 112.9 kB / 1.165 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.455, allocations: 176.3 kB / 1.165 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.5105/1.966, allocations: 104.9 kB / 1.165 GB, free: 272.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001009/1.966, allocations: 85.06 kB / 1.166 GB, free: 272.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.966, allocations: 0 / 1.166 GB, free: 272.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003662/1.966, allocations: 15.72 kB / 1.166 GB, free: 272.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000591/1.967, allocations: 0.8671 MB / 1.166 GB, free: 272 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.937e-05/1.967, allocations: 8.297 kB / 1.166 GB, free: 272 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.967, allocations: 0.5 kB / 1.166 GB, free: 272 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/1.967, allocations: 2.531 kB / 1.166 GB, free: 272 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/1.967, allocations: 0.5244 MB / 1.167 GB, free: 271.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/1.968, allocations: 160.4 kB / 1.167 GB, free: 271.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/1.968, allocations: 0.6801 MB / 1.168 GB, free: 270.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.143e-05/1.968, allocations: 16.41 kB / 1.168 GB, free: 270.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/1.968, allocations: 10.19 kB / 1.168 GB, free: 270.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.968, allocations: 0.9688 kB / 1.168 GB, free: 270.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/1.99, allocations: 1.325 MB / 1.169 GB, free: 270.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.991, allocations: 178.8 kB / 1.169 GB, free: 270.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/3.669, allocations: 1.703 kB / 1.169 GB, free: 270.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)