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.71/1.71, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001133/0.001133, allocations: 172.8 kB / 366.7 MB, free: 1.691 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.959/1.959, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008874/0.0008874, allocations: 81.27 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.669e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8033, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/2.054, allocations: 424 MB / 1.387 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/2.054, allocations: 68.53 kB / 1.387 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03485/2.089, allocations: 17.63 MB / 1.405 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/2.089, allocations: 0 / 1.405 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.167e-06/2.089, allocations: 3.375 kB / 1.405 GB, free: 119.1 MB / 0.8542 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.0003315/2.089, allocations: 354 kB / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/2.089, allocations: 15.97 kB / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/2.089, allocations: 0 / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/2.089, allocations: 170.9 kB / 1.405 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/2.09, allocations: 25.7 kB / 1.405 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/2.09, allocations: 0 / 1.405 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.804e-05/2.09, allocations: 15.86 kB / 1.405 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.097e-05/2.09, allocations: 37.69 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/2.09, allocations: 0 / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/2.09, allocations: 0 / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/2.09, allocations: 8 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/2.09, allocations: 313.7 kB / 1.406 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/2.09, allocations: 14.58 kB / 1.406 GB, free: 118 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/2.09, allocations: 8.922 kB / 1.406 GB, free: 118 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/2.09, allocations: 81.11 kB / 1.406 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/2.09, allocations: 39.94 kB / 1.406 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.502e-06/2.09, allocations: 0 / 1.406 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001799/2.091, allocations: 37.69 kB / 1.406 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/2.091, allocations: 51.41 kB / 1.406 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/2.091, allocations: 96.92 kB / 1.406 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/2.091, allocations: 33.58 kB / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/2.091, allocations: 84.05 kB / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/2.091, allocations: 7.984 kB / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/2.091, allocations: 0 / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.142e-05/2.091, allocations: 322.8 kB / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/2.091, allocations: 7.938 kB / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/2.091, allocations: 9.719 kB / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/2.091, allocations: 11.98 kB / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/2.091, allocations: 0 / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001011/2.091, allocations: 49.09 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/2.091, allocations: 16 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/2.091, allocations: 0 / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/2.091, allocations: 0 / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/2.091, allocations: 4 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/2.091, allocations: 0 / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/2.091, allocations: 6.062 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/2.091, allocations: 0.875 kB / 1.406 GB, free: 117.1 MB / 0.8542 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 6.184e-05/2.091, allocations: 104.9 kB / 1.407 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.521e-05/2.091, allocations: 37.69 kB / 1.407 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/2.091, allocations: 8.031 kB / 1.407 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/2.091, allocations: 114.3 kB / 1.407 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/2.091, allocations: 187.9 kB / 1.407 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/2.092, allocations: 176.3 kB / 1.407 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/2.092, allocations: 180.2 kB / 1.407 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/2.092, allocations: 392.4 kB / 1.408 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/2.092, allocations: 108.5 kB / 1.408 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/2.092, allocations: 104.9 kB / 1.408 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-05/2.092, allocations: 176.3 kB / 1.408 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/2.092, allocations: 184.2 kB / 1.408 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.379e-05/2.092, allocations: 180.2 kB / 1.408 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-05/2.092, allocations: 180.3 kB / 1.408 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/2.092, allocations: 311 kB / 1.409 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/2.092, allocations: 186.1 kB / 1.409 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/2.092, allocations: 176.3 kB / 1.409 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/2.092, allocations: 116.9 kB / 1.409 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/2.092, allocations: 179.8 kB / 1.409 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/2.092, allocations: 101 kB / 1.41 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.12e-05/2.092, allocations: 86.78 kB / 1.41 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/2.092, allocations: 0 / 1.41 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002766/2.093, allocations: 23.25 kB / 1.41 GB, free: 113.7 MB / 0.8542 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.0004582/2.093, allocations: 0.8718 MB / 1.41 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/2.093, allocations: 15.67 kB / 1.41 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/2.093, allocations: 0 / 1.41 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/2.093, allocations: 8.062 kB / 1.41 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/2.094, allocations: 0.5146 MB / 1.411 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/2.094, allocations: 161.6 kB / 1.411 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/2.094, allocations: 0.6806 MB / 1.412 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.777e-05/2.094, allocations: 9 kB / 1.412 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/2.094, allocations: 7.438 kB / 1.412 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/2.094, allocations: 0 / 1.412 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/2.117, allocations: 1.299 MB / 1.413 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/2.117, allocations: 158 kB / 1.413 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/3.671, allocations: 0.9375 kB / 1.413 GB, free: 109.9 MB / 0.8542 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)