Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.5 MB / 257 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000961/0.000961, allocations: 94.45 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.391e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.62/1.838, allocations: 417.7 MB / 1.293 GB, free: 326.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.838, allocations: 64.8 kB / 1.293 GB, free: 326.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03193/1.87, allocations: 17.63 MB / 1.311 GB, free: 310.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/1.87, allocations: 0 / 1.311 GB, free: 310.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.87, allocations: 4 kB / 1.311 GB, free: 310.8 MB / 0.8698 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.0002999/1.87, allocations: 350.5 kB / 1.311 GB, free: 310.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.87, allocations: 15.97 kB / 1.311 GB, free: 310.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/1.87, allocations: 0 / 1.311 GB, free: 310.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/1.871, allocations: 167 kB / 1.311 GB, free: 310.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/1.871, allocations: 33.69 kB / 1.311 GB, free: 310.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/1.871, allocations: 0 / 1.311 GB, free: 310.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.363e-05/1.871, allocations: 8 kB / 1.311 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/1.871, allocations: 45.69 kB / 1.311 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.871, allocations: 0 / 1.311 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.871, allocations: 4 kB / 1.311 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.871, allocations: 0 / 1.311 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/1.871, allocations: 314.5 kB / 1.311 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.081e-05/1.871, allocations: 22.52 kB / 1.311 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/1.871, allocations: 4.859 kB / 1.311 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/1.871, allocations: 85.17 kB / 1.312 GB, free: 309.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/1.871, allocations: 36.25 kB / 1.312 GB, free: 309.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/1.871, allocations: 0 / 1.312 GB, free: 309.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001686/1.872, allocations: 33.69 kB / 1.312 GB, free: 309.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/1.872, allocations: 55.41 kB / 1.312 GB, free: 309.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/1.872, allocations: 96.94 kB / 1.312 GB, free: 309.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/1.872, allocations: 25.7 kB / 1.312 GB, free: 309.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/1.872, allocations: 96.06 kB / 1.312 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-06/1.872, allocations: 0 / 1.312 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/1.872, allocations: 0 / 1.312 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/1.872, allocations: 314.8 kB / 1.312 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/1.872, allocations: 4 kB / 1.312 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/1.872, allocations: 17.66 kB / 1.312 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/1.872, allocations: 11.98 kB / 1.312 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.872, allocations: 4 kB / 1.312 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.355e-05/1.872, allocations: 45.69 kB / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.872, allocations: 4 kB / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.872, allocations: 0 / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.872, allocations: 0 / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.175e-05/1.872, allocations: 12.22 kB / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/1.872, allocations: 0 / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/1.872, allocations: 3.906 kB / 1.312 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/1.872, allocations: 4 kB / 1.312 GB, free: 308.8 MB / 0.8698 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 5.218e-05/1.872, allocations: 116.9 kB / 1.312 GB, free: 308.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.885e-05/1.872, allocations: 41.69 kB / 1.312 GB, free: 308.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/1.872, allocations: 0 / 1.312 GB, free: 308.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/1.872, allocations: 125.5 kB / 1.313 GB, free: 308.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/1.872, allocations: 176.3 kB / 1.313 GB, free: 308.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/1.872, allocations: 176.3 kB / 1.313 GB, free: 308.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.873, allocations: 188.2 kB / 1.313 GB, free: 307.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/1.873, allocations: 385.7 kB / 1.313 GB, free: 307.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.873, allocations: 105 kB / 1.314 GB, free: 307.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/1.873, allocations: 108.9 kB / 1.314 GB, free: 307.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-05/1.873, allocations: 180.2 kB / 1.314 GB, free: 307.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/1.873, allocations: 180.3 kB / 1.314 GB, free: 306.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-05/1.873, allocations: 180.2 kB / 1.314 GB, free: 306.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.538e-05/1.873, allocations: 180.3 kB / 1.314 GB, free: 306.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.602e-05/1.873, allocations: 311.7 kB / 1.315 GB, free: 306.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/1.873, allocations: 186 kB / 1.315 GB, free: 306 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/1.873, allocations: 176.3 kB / 1.315 GB, free: 305.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.873, allocations: 116.9 kB / 1.315 GB, free: 305.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/1.873, allocations: 176.3 kB / 1.315 GB, free: 305.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.873, allocations: 105 kB / 1.315 GB, free: 305.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.431e-05/1.873, allocations: 83.28 kB / 1.315 GB, free: 305.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.873, allocations: 4 kB / 1.315 GB, free: 305.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002234/1.873, allocations: 23.92 kB / 1.315 GB, free: 305.3 MB / 0.8698 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.0003438/1.874, allocations: 0.8721 MB / 1.316 GB, free: 304.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.917e-05/1.874, allocations: 7.984 kB / 1.316 GB, free: 304.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.874, allocations: 0 / 1.316 GB, free: 304.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/1.874, allocations: 0 / 1.316 GB, free: 304.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/1.874, allocations: 0.5283 MB / 1.317 GB, free: 303.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/1.874, allocations: 165 kB / 1.317 GB, free: 303.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/1.875, allocations: 0.6768 MB / 1.318 GB, free: 303 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.635e-05/1.875, allocations: 7.75 kB / 1.318 GB, free: 303 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/1.875, allocations: 11.44 kB / 1.318 GB, free: 303 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/1.875, allocations: 0 / 1.318 GB, free: 303 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/1.895, allocations: 1.285 MB / 1.319 GB, free: 301.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.895, allocations: 183.6 kB / 1.319 GB, free: 301.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/3.342, allocations: 0 / 1.319 GB, free: 301.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)