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.8285/0.8285, allocations: 143.4 MB / 158.3 MB, free: 5.746 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.001083/0.001082, allocations: 177 kB / 191.5 MB, free: 5.754 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.462/1.462, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.00102/0.00102, allocations: 91.94 kB / 0.5187 GB, free: 2.891 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 276.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005841, allocations: 12 kB / 0.6929 GB, free: 2.238 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4338, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7461/1.18, allocations: 394.6 MB / 1.159 GB, free: 10.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.18, allocations: 69.48 kB / 1.159 GB, free: 10.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3539/1.534, allocations: 19.12 MB / 1.178 GB, free: 270.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.534, allocations: 0 / 1.178 GB, free: 270.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.337e-06/1.534, allocations: 1.5 kB / 1.178 GB, free: 270.5 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.0003787/1.535, allocations: 363.5 kB / 1.178 GB, free: 270.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.535, allocations: 13.48 kB / 1.178 GB, free: 270.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/1.535, allocations: 31.56 kB / 1.178 GB, free: 270 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/1.535, allocations: 2.375 kB / 1.178 GB, free: 270 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/1.535, allocations: 167.9 kB / 1.178 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/1.535, allocations: 32.33 kB / 1.178 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/1.535, allocations: 1.094 kB / 1.178 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/1.535, allocations: 51.09 kB / 1.178 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/1.535, allocations: 0.625 kB / 1.178 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.535, allocations: 0.7188 kB / 1.179 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.535, allocations: 4.469 kB / 1.179 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/1.535, allocations: 15.27 kB / 1.179 GB, free: 269.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/1.536, allocations: 330.3 kB / 1.179 GB, free: 269.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/1.536, allocations: 24.14 kB / 1.179 GB, free: 269.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/1.536, allocations: 82.14 kB / 1.179 GB, free: 269.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/1.536, allocations: 35.7 kB / 1.179 GB, free: 269.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/1.536, allocations: 0 / 1.179 GB, free: 269.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/1.536, allocations: 34.67 kB / 1.179 GB, free: 269.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.536, allocations: 55.34 kB / 1.179 GB, free: 269.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/1.536, allocations: 102.8 kB / 1.179 GB, free: 269.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/1.536, allocations: 25.7 kB / 1.179 GB, free: 269 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/1.536, allocations: 89.11 kB / 1.179 GB, free: 268.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/1.536, allocations: 0.5625 kB / 1.179 GB, free: 268.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/1.536, allocations: 0.6875 kB / 1.179 GB, free: 268.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.536, allocations: 319.3 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/1.536, allocations: 9.766 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/1.536, allocations: 17.16 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.945e-05/1.536, allocations: 7.156 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.536, allocations: 0.9062 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.39e-05/1.536, allocations: 53.08 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.536, allocations: 5.469 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.536, allocations: 0 / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.536, allocations: 1.25 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/1.536, allocations: 9.141 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.536, allocations: 0 / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/1.536, allocations: 5.438 kB / 1.18 GB, free: 268.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.536, allocations: 2.625 kB / 1.18 GB, free: 268.6 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 () * Number of clocked 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 4.802e-05/1.536, allocations: 115 kB / 1.18 GB, free: 268.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/1.536, allocations: 1.531 kB / 1.18 GB, free: 268.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/1.537, allocations: 127.5 kB / 1.18 GB, free: 268.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/1.537, allocations: 177.4 kB / 1.18 GB, free: 268.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.364e-05/1.537, allocations: 186.1 kB / 1.18 GB, free: 268 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.537, allocations: 188.4 kB / 1.18 GB, free: 267.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/1.537, allocations: 406.2 kB / 1.181 GB, free: 267.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.537, allocations: 106 kB / 1.181 GB, free: 267.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/1.537, allocations: 105.9 kB / 1.181 GB, free: 267.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-05/1.537, allocations: 180.3 kB / 1.181 GB, free: 266.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/1.537, allocations: 185.6 kB / 1.181 GB, free: 266.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/1.537, allocations: 176.3 kB / 1.182 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.859e-05/1.537, allocations: 181.6 kB / 1.182 GB, free: 266.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.29e-05/1.537, allocations: 307.6 kB / 1.182 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/1.537, allocations: 191.4 kB / 1.182 GB, free: 265.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/1.537, allocations: 188.7 kB / 1.182 GB, free: 265.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.537, allocations: 109.2 kB / 1.182 GB, free: 265.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/1.537, allocations: 180.2 kB / 1.183 GB, free: 265.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/1.537, allocations: 106.3 kB / 1.183 GB, free: 265.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.236e-05/1.537, allocations: 87.28 kB / 1.183 GB, free: 265.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.537, allocations: 3.938 kB / 1.183 GB, free: 265.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002709/1.538, allocations: 15.41 kB / 1.183 GB, free: 265.2 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 () * Number of clocked 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.0004136/1.538, allocations: 0.8584 MB / 1.184 GB, free: 264.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/1.538, allocations: 20.84 kB / 1.184 GB, free: 264.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.538, allocations: 0 / 1.184 GB, free: 264.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/1.538, allocations: 0.5625 kB / 1.184 GB, free: 264.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/1.538, allocations: 0.5254 MB / 1.184 GB, free: 263.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/1.539, allocations: 222 kB / 1.184 GB, free: 263.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/1.539, allocations: 0.677 MB / 1.185 GB, free: 262.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.293e-05/1.539, allocations: 4.719 kB / 1.185 GB, free: 262.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/1.539, allocations: 9.719 kB / 1.185 GB, free: 262.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.539, allocations: 4 kB / 1.185 GB, free: 262.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/1.551, allocations: 2.032 MB / 1.187 GB, free: 262.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.552, allocations: 215.2 kB / 1.187 GB, free: 262.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/3.095, allocations: 0 / 1.187 GB, free: 262.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)