Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001203/0.001203, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.899/1.899, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008522/0.0008522, allocations: 85.88 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.485e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8143, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/2.056, allocations: 423.1 MB / 1.378 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/2.056, allocations: 75.92 kB / 1.378 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03397/2.09, allocations: 17.63 MB / 1.395 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/2.09, allocations: 0 / 1.395 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.077e-06/2.09, allocations: 0 / 1.395 GB, free: 130.5 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.0003814/2.09, allocations: 357.9 kB / 1.395 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/2.09, allocations: 8.031 kB / 1.395 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/2.09, allocations: 1.031 kB / 1.395 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/2.091, allocations: 174.9 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/2.091, allocations: 25.7 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/2.091, allocations: 2.875 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.739e-05/2.091, allocations: 15.36 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/2.091, allocations: 37.69 kB / 1.395 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/2.091, allocations: 0 / 1.395 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/2.091, allocations: 4 kB / 1.395 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/2.091, allocations: 0 / 1.395 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/2.091, allocations: 310.3 kB / 1.396 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.376e-05/2.091, allocations: 18.52 kB / 1.396 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/2.091, allocations: 4.859 kB / 1.396 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.823e-05/2.092, allocations: 93.14 kB / 1.396 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/2.092, allocations: 36.25 kB / 1.396 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/2.092, allocations: 1.312 kB / 1.396 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001889/2.092, allocations: 29.7 kB / 1.396 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/2.092, allocations: 55.41 kB / 1.396 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/2.092, allocations: 100.7 kB / 1.396 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/2.092, allocations: 25.7 kB / 1.396 GB, free: 129 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/2.092, allocations: 84.05 kB / 1.396 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/2.092, allocations: 4 kB / 1.396 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/2.092, allocations: 7.969 kB / 1.396 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/2.092, allocations: 314.8 kB / 1.397 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/2.092, allocations: 11.8 kB / 1.397 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/2.092, allocations: 13.72 kB / 1.397 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.29e-05/2.092, allocations: 8 kB / 1.397 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/2.092, allocations: 0 / 1.397 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.249e-05/2.092, allocations: 53.44 kB / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/2.092, allocations: 6.062 kB / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/2.092, allocations: 4 kB / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/2.092, allocations: 0 / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/2.092, allocations: 11.92 kB / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/2.092, allocations: 0 / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/2.092, allocations: 4 kB / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/2.092, allocations: 0 / 1.397 GB, free: 128.5 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.344e-05/2.092, allocations: 106.5 kB / 1.397 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.746e-05/2.093, allocations: 41.72 kB / 1.397 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/2.093, allocations: 0 / 1.397 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/2.093, allocations: 121 kB / 1.397 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/2.093, allocations: 176.5 kB / 1.397 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-05/2.093, allocations: 184.2 kB / 1.397 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.63e-05/2.093, allocations: 180.2 kB / 1.397 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/2.093, allocations: 397.6 kB / 1.398 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/2.093, allocations: 105 kB / 1.398 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/2.093, allocations: 106.4 kB / 1.398 GB, free: 127 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.627e-05/2.093, allocations: 176.3 kB / 1.398 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/2.093, allocations: 176.3 kB / 1.398 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-05/2.093, allocations: 188.2 kB / 1.398 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-05/2.093, allocations: 180.2 kB / 1.399 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/2.093, allocations: 311.4 kB / 1.399 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/2.093, allocations: 184.6 kB / 1.399 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/2.094, allocations: 180.3 kB / 1.399 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/2.094, allocations: 112.9 kB / 1.399 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/2.094, allocations: 180.2 kB / 1.4 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/2.094, allocations: 104 kB / 1.4 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.543e-05/2.094, allocations: 81.03 kB / 1.4 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/2.094, allocations: 0 / 1.4 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003043/2.094, allocations: 23.38 kB / 1.4 GB, free: 125.1 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.000546/2.095, allocations: 0.8765 MB / 1.401 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001033/2.095, allocations: 4 kB / 1.401 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/2.095, allocations: 8.125 kB / 1.401 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/2.095, allocations: 3.938 kB / 1.401 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/2.095, allocations: 0.524 MB / 1.401 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/2.096, allocations: 161.3 kB / 1.401 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/2.096, allocations: 0.6806 MB / 1.402 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.806e-05/2.096, allocations: 12.61 kB / 1.402 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/2.096, allocations: 7.438 kB / 1.402 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/2.096, allocations: 0 / 1.402 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/2.118, allocations: 1.299 MB / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/2.118, allocations: 182.1 kB / 1.403 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/3.664, allocations: 6.188 kB / 1.403 GB, free: 121.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)