Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001491/0.001491, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.663/1.663, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009249/0.0009252, allocations: 98.5 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.648e-05, allocations: 0 / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.6726, allocations: 115.3 MB / 0.9644 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.26/12.94, allocations: 4.61 GB / 5.575 GB, free: 55.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/12.94, allocations: 76.55 kB / 5.575 GB, free: 55.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08318/13.02, allocations: 44.41 MB / 5.618 GB, free: 14.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.104e-06/13.02, allocations: 0 / 5.618 GB, free: 14.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.297e-06/13.02, allocations: 0 / 5.618 GB, free: 14.57 MB / 0.948 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.0003594/13.02, allocations: 338.5 kB / 5.618 GB, free: 14.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/13.02, allocations: 8.031 kB / 5.618 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/13.02, allocations: 19.98 kB / 5.618 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/13.02, allocations: 163.1 kB / 5.619 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/13.02, allocations: 29.7 kB / 5.619 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/13.02, allocations: 0 / 5.619 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/13.02, allocations: 23.92 kB / 5.619 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/13.02, allocations: 45.64 kB / 5.619 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/13.02, allocations: 0 / 5.619 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/13.02, allocations: 2.344 kB / 5.619 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/13.02, allocations: 4 kB / 5.619 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/13.02, allocations: 237.4 kB / 5.619 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/13.02, allocations: 18.61 kB / 5.619 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/13.02, allocations: 12.88 kB / 5.619 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/13.02, allocations: 0 / 5.619 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/13.02, allocations: 38.5 kB / 5.619 GB, free: 13.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/13.02, allocations: 0 / 5.619 GB, free: 13.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000155/13.02, allocations: 29.7 kB / 5.619 GB, free: 13.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/13.02, allocations: 51.41 kB / 5.619 GB, free: 13.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/13.02, allocations: 101 kB / 5.619 GB, free: 13.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/13.02, allocations: 33.62 kB / 5.619 GB, free: 13.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/13.02, allocations: 91.95 kB / 5.619 GB, free: 13.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-06/13.02, allocations: 7.938 kB / 5.619 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/13.02, allocations: 4.031 kB / 5.619 GB, free: 13.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001394/13.02, allocations: 311.2 kB / 5.62 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/13.02, allocations: 4 kB / 5.62 GB, free: 12.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/13.02, allocations: 26.56 kB / 5.62 GB, free: 12.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/13.02, allocations: 4 kB / 5.62 GB, free: 12.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/13.02, allocations: 3.938 kB / 5.62 GB, free: 12.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.661e-05/13.02, allocations: 53.69 kB / 5.62 GB, free: 12.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/13.02, allocations: 7.953 kB / 5.62 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/13.02, allocations: 0 / 5.62 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/13.02, allocations: 0 / 5.62 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/13.02, allocations: 11.94 kB / 5.62 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/13.02, allocations: 2.438 kB / 5.62 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/13.02, allocations: 3.906 kB / 5.62 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/13.02, allocations: 4 kB / 5.62 GB, free: 12.7 MB / 0.948 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 () * 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.148e-05/13.02, allocations: 105.1 kB / 5.62 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.139e-05/13.02, allocations: 37.69 kB / 5.62 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/13.02, allocations: 4.047 kB / 5.62 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/13.02, allocations: 7.734 kB / 5.62 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/13.02, allocations: 0 / 5.62 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/13.02, allocations: 0 / 5.62 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/13.02, allocations: 4 kB / 5.62 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/13.02, allocations: 323.2 kB / 5.62 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/13.02, allocations: 8.062 kB / 5.62 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/13.02, allocations: 3.984 kB / 5.62 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/13.02, allocations: 0 / 5.62 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/13.02, allocations: 0 / 5.62 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/13.02, allocations: 0 / 5.62 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/13.02, allocations: 0 / 5.62 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.591e-05/13.02, allocations: 57.14 kB / 5.62 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/13.02, allocations: 84.97 kB / 5.62 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/13.02, allocations: 8.016 kB / 5.62 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/13.02, allocations: 4 kB / 5.62 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/13.02, allocations: 3.938 kB / 5.62 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/13.02, allocations: 7.938 kB / 5.62 GB, free: 11.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.295e-05/13.02, allocations: 87.53 kB / 5.62 GB, free: 11.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/13.02, allocations: 0 / 5.62 GB, free: 11.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002772/13.02, allocations: 27.98 kB / 5.62 GB, free: 11.85 MB / 0.948 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 (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.001132/13.02, allocations: 1.165 MB / 5.622 GB, free: 10.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001073/13.02, allocations: 12.06 kB / 5.622 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/13.02, allocations: 4.062 kB / 5.622 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/13.02, allocations: 4 kB / 5.622 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/13.02, allocations: 4.562 kB / 5.622 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/13.03, allocations: 86.09 kB / 5.622 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/13.03, allocations: 0.6775 MB / 5.622 GB, free: 9.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.129e-05/13.03, allocations: 12.05 kB / 5.622 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/13.03, allocations: 7.438 kB / 5.622 GB, free: 9.801 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/13.03, allocations: 4 kB / 5.622 GB, free: 9.797 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/13.05, allocations: 5.38 MB / 5.628 GB, free: 4.441 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/13.05, allocations: 183.9 kB / 5.628 GB, free: 4.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/14.89, allocations: 0 / 5.628 GB, free: 4.25 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)