Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.6 MB / 307.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.9 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6366 GB, free: 8.656 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000892/0.0008922, allocations: 95.45 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003331, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.802/2.081, allocations: 424.8 MB / 1.403 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/2.082, allocations: 70.84 kB / 1.403 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.04053/2.122, allocations: 17.78 MB / 1.421 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.805e-06/2.122, allocations: 0 / 1.421 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.036e-05/2.122, allocations: 3.219 kB / 1.421 GB, free: 253.3 MB / 0.9323 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.0004329/2.123, allocations: 361.7 kB / 1.421 GB, free: 253 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/2.123, allocations: 10.5 kB / 1.421 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/2.123, allocations: 30.56 kB / 1.421 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/2.123, allocations: 6.906 kB / 1.421 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/2.123, allocations: 170.6 kB / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/2.123, allocations: 32.02 kB / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/2.123, allocations: 0 / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/2.123, allocations: 49.62 kB / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/2.123, allocations: 0 / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/2.123, allocations: 4 kB / 1.421 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/2.123, allocations: 1.031 kB / 1.421 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/2.123, allocations: 13.53 kB / 1.421 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/2.124, allocations: 334.3 kB / 1.422 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/2.124, allocations: 18.52 kB / 1.422 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/2.124, allocations: 91.33 kB / 1.422 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/2.124, allocations: 40.12 kB / 1.422 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/2.124, allocations: 0 / 1.422 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001565/2.124, allocations: 32.89 kB / 1.422 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/2.124, allocations: 55.34 kB / 1.422 GB, free: 252 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/2.124, allocations: 98.81 kB / 1.422 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/2.124, allocations: 28.77 kB / 1.422 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/2.124, allocations: 84.8 kB / 1.422 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/2.124, allocations: 0 / 1.422 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/2.124, allocations: 7.312 kB / 1.422 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/2.125, allocations: 321.4 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/2.125, allocations: 0 / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/2.125, allocations: 19.19 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/2.125, allocations: 7.062 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.125, allocations: 0 / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.463e-05/2.125, allocations: 55.16 kB / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/2.125, allocations: 6.594 kB / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/2.125, allocations: 0 / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/2.125, allocations: 3.875 kB / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/2.125, allocations: 4.094 kB / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/2.125, allocations: 0.5469 kB / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/2.125, allocations: 0 / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/2.125, allocations: 3.219 kB / 1.422 GB, free: 251.4 MB / 0.9323 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 6.639e-05/2.125, allocations: 119.2 kB / 1.423 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/2.125, allocations: 32 / 1.423 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/2.125, allocations: 123.5 kB / 1.423 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/2.125, allocations: 179 kB / 1.423 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-05/2.125, allocations: 183.7 kB / 1.423 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/2.125, allocations: 180.4 kB / 1.423 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/2.125, allocations: 410.3 kB / 1.424 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/2.125, allocations: 111.9 kB / 1.424 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/2.125, allocations: 101 kB / 1.424 GB, free: 250 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.434e-05/2.125, allocations: 184 kB / 1.424 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/2.126, allocations: 179.4 kB / 1.424 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-05/2.126, allocations: 177.1 kB / 1.424 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.191e-05/2.126, allocations: 187.3 kB / 1.425 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/2.126, allocations: 316.3 kB / 1.425 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/2.126, allocations: 182.9 kB / 1.425 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/2.126, allocations: 185.4 kB / 1.425 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/2.126, allocations: 111.8 kB / 1.425 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/2.126, allocations: 179.1 kB / 1.425 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/2.126, allocations: 105.5 kB / 1.426 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.416e-05/2.126, allocations: 88.8 kB / 1.426 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.126, allocations: 0 / 1.426 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002687/2.126, allocations: 19.56 kB / 1.426 GB, free: 248.1 MB / 0.9323 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.000493/2.127, allocations: 0.8654 MB / 1.426 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/2.127, allocations: 13.84 kB / 1.426 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.127, allocations: 0 / 1.426 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/2.127, allocations: 4.125 kB / 1.427 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/2.127, allocations: 0.5203 MB / 1.427 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/2.128, allocations: 230.1 kB / 1.427 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/2.128, allocations: 0.6797 MB / 1.428 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.796e-05/2.128, allocations: 4.188 kB / 1.428 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/2.128, allocations: 14.16 kB / 1.428 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.422e-06/2.128, allocations: 0 / 1.428 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/2.142, allocations: 1.974 MB / 1.43 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/2.143, allocations: 209.2 kB / 1.43 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/3.903, allocations: 0 / 1.43 GB, free: 245.3 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)