Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 181.4 kB / 326.5 MB, free: 2.281 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.642/1.642, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008092/0.000809, allocations: 96.31 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 12.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 106.3 MB / 0.9002 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.31/12.51, allocations: 4.605 GB / 5.505 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/12.51, allocations: 85.67 kB / 5.505 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.08494/12.6, allocations: 45.24 MB / 5.549 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.416e-06/12.6, allocations: 3.938 kB / 5.549 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.817e-06/12.6, allocations: 0 / 5.549 GB, free: 224.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004092/12.6, allocations: 338.7 kB / 5.55 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/12.6, allocations: 7.531 kB / 5.55 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/12.6, allocations: 42.05 kB / 5.55 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/12.6, allocations: 19.55 kB / 5.55 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/12.6, allocations: 167.1 kB / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/12.6, allocations: 25.7 kB / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/12.6, allocations: 11.81 kB / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/12.6, allocations: 44.39 kB / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/12.6, allocations: 0 / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/12.6, allocations: 3.812 kB / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/12.6, allocations: 0 / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/12.6, allocations: 22.7 kB / 5.55 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/12.6, allocations: 263.7 kB / 5.55 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.254e-05/12.6, allocations: 18.39 kB / 5.55 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/12.6, allocations: 3.75 kB / 5.55 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/12.6, allocations: 30.56 kB / 5.55 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/12.6, allocations: 0 / 5.55 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/12.6, allocations: 37.58 kB / 5.55 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/12.6, allocations: 51.41 kB / 5.55 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/12.6, allocations: 100.3 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/12.6, allocations: 25.7 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/12.6, allocations: 95.64 kB / 5.55 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/12.6, allocations: 7.844 kB / 5.55 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/12.6, allocations: 0 / 5.55 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/12.6, allocations: 315.2 kB / 5.551 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/12.6, allocations: 7.781 kB / 5.551 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/12.6, allocations: 22.52 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/12.6, allocations: 14.2 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/12.6, allocations: 3.953 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.516e-05/12.6, allocations: 50.58 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/12.6, allocations: 3.531 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/12.6, allocations: 11.92 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/12.6, allocations: 0 / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/12.6, allocations: 7.781 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/12.6, allocations: 3.844 kB / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/12.6, allocations: 0 / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/12.6, allocations: 0 / 5.551 GB, free: 223.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.365e-05/12.6, allocations: 112 kB / 5.551 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/12.6, allocations: 3.953 kB / 5.551 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/12.6, allocations: 11 kB / 5.551 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/12.6, allocations: 7.984 kB / 5.551 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/12.6, allocations: 0 / 5.551 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/12.6, allocations: 96 / 5.551 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/12.6, allocations: 350.8 kB / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/12.6, allocations: 3.984 kB / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/12.6, allocations: 3.938 kB / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/12.6, allocations: 0 / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/12.6, allocations: 0 / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/12.6, allocations: 0 / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/12.6, allocations: 4.031 kB / 5.551 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/12.6, allocations: 63.86 kB / 5.551 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/12.6, allocations: 79.8 kB / 5.552 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/12.6, allocations: 0 / 5.552 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/12.6, allocations: 11.83 kB / 5.552 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/12.6, allocations: 0 / 5.552 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/12.6, allocations: 4.031 kB / 5.552 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.368e-05/12.6, allocations: 85.66 kB / 5.552 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.71e-07/12.6, allocations: 3.938 kB / 5.552 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000336/12.6, allocations: 43.86 kB / 5.552 GB, free: 222.3 MB / 0.8855 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 (1): * Single equations (assignments): 1 * 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.0008965/12.6, allocations: 1.07 MB / 5.553 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.532e-05/12.6, allocations: 17.91 kB / 5.553 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/12.6, allocations: 0 / 5.553 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.11e-06/12.6, allocations: 0 / 5.553 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/12.6, allocations: 11.17 kB / 5.553 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/12.6, allocations: 159.5 kB / 5.553 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/12.6, allocations: 0.6809 MB / 5.554 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.465e-05/12.6, allocations: 4 kB / 5.554 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/12.6, allocations: 12.7 kB / 5.554 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/12.6, allocations: 0 / 5.554 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/12.62, allocations: 10.52 MB / 5.564 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/12.62, allocations: 222 kB / 5.564 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/14.47, allocations: 0 / 5.564 GB, free: 209.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)