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.401/1.401, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0009117/0.0009117, allocations: 180.8 kB / 372.3 MB, free: 10.14 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.179/1.179, allocations: 205.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006435/0.0006436, allocations: 94.88 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 15.42 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4233/0.5729, allocations: 134 MB / 1.111 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 9.021e-05/0.5731, allocations: 43.23 kB / 1.111 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.5731, allocations: 0 / 1.111 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 8.468e-05/0.5732, allocations: 0 / 1.111 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.5732, allocations: 15.66 kB / 1.111 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.5736, allocations: 93.83 kB / 1.111 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.5737, allocations: 38.69 kB / 1.111 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.5737, allocations: 3.719 kB / 1.111 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.5737, allocations: 17.67 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.5738, allocations: 14.25 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.5738, allocations: 1.406 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.574, allocations: 80.58 kB / 1.111 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.5741, allocations: 10.12 kB / 1.111 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.5742, allocations: 37.92 kB / 1.111 GB, free: 18.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.5743, allocations: 47.27 kB / 1.111 GB, free: 18.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5743, allocations: 3.25 kB / 1.111 GB, free: 18.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5743, allocations: 0 / 1.111 GB, free: 18.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.5743, allocations: 0 / 1.111 GB, free: 18.71 MB / 0.698 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.0003147/0.5746, allocations: 330 kB / 1.112 GB, free: 18.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.5746, allocations: 9.75 kB / 1.112 GB, free: 18.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.5747, allocations: 35.59 kB / 1.112 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.5749, allocations: 28.19 kB / 1.112 GB, free: 18.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.575, allocations: 162.7 kB / 1.112 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.575, allocations: 31.34 kB / 1.112 GB, free: 18.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.575, allocations: 1.188 kB / 1.112 GB, free: 18.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5752, allocations: 51.36 kB / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.5752, allocations: 0 / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5752, allocations: 0 / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.5752, allocations: 3.5 kB / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.5753, allocations: 23.2 kB / 1.112 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.5755, allocations: 258 kB / 1.112 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.314e-05/0.5756, allocations: 21.06 kB / 1.112 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.234e-05/0.5756, allocations: 6.109 kB / 1.112 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.5756, allocations: 0.6094 kB / 1.112 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.5756, allocations: 39.53 kB / 1.112 GB, free: 17.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.5756, allocations: 0 / 1.112 GB, free: 17.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 9.88e-05/0.5757, allocations: 34.27 kB / 1.112 GB, free: 17.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.5758, allocations: 57.2 kB / 1.113 GB, free: 17.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.5758, allocations: 108.8 kB / 1.113 GB, free: 17.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.5759, allocations: 26.86 kB / 1.113 GB, free: 17.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.5759, allocations: 97.12 kB / 1.113 GB, free: 17.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.5759, allocations: 8.656 kB / 1.113 GB, free: 17.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.5759, allocations: 4.125 kB / 1.113 GB, free: 17.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.576, allocations: 313.2 kB / 1.113 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.576, allocations: 4.125 kB / 1.113 GB, free: 17.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.576, allocations: 28.36 kB / 1.113 GB, free: 17.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.5761, allocations: 32.45 kB / 1.113 GB, free: 17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5761, allocations: 0 / 1.113 GB, free: 17 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.781e-05/0.5761, allocations: 53.14 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5762, allocations: 5.219 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5762, allocations: 1.625 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.5762, allocations: 0.7031 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.5762, allocations: 10.69 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5762, allocations: 6.859 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.5763, allocations: 6.141 kB / 1.113 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.5763, allocations: 6.25 kB / 1.113 GB, free: 16.95 MB / 0.698 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 5.978e-05/0.5764, allocations: 112.6 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.5764, allocations: 1.125 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.5764, allocations: 5.859 kB / 1.113 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.5764, allocations: 0 / 1.113 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5764, allocations: 5.094 kB / 1.113 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.5764, allocations: 0 / 1.113 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5766, allocations: 350.7 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5766, allocations: 1 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.5766, allocations: 1.828 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5766, allocations: 4.562 kB / 1.114 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.5766, allocations: 1.406 kB / 1.114 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5767, allocations: 0.5625 kB / 1.114 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5767, allocations: 0 / 1.114 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.389e-05/0.5767, allocations: 57.28 kB / 1.114 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.5767, allocations: 93.84 kB / 1.114 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.5768, allocations: 0 / 1.114 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.5768, allocations: 9.672 kB / 1.114 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.5769, allocations: 2.188 kB / 1.114 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.5769, allocations: 0 / 1.114 GB, free: 16.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.5769, allocations: 84.86 kB / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5769, allocations: 0 / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001633/0.5771, allocations: 5.938 kB / 1.114 GB, free: 16.2 MB / 0.698 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.0002286/0.5773, allocations: 0.6021 MB / 1.115 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.508e-05/0.5774, allocations: 13.88 kB / 1.115 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5774, allocations: 0 / 1.115 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.5774, allocations: 6.203 kB / 1.115 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.5776, allocations: 12.61 kB / 1.115 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.5778, allocations: 147.3 kB / 1.115 GB, free: 15.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.578, allocations: 0.6759 MB / 1.115 GB, free: 14.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.746e-05/0.5781, allocations: 9.422 kB / 1.115 GB, free: 14.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.5781, allocations: 12.5 kB / 1.115 GB, free: 14.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.5781, allocations: 1.094 kB / 1.115 GB, free: 14.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2086/0.7867, allocations: 1.123 MB / 1.116 GB, free: 14.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.7869, allocations: 222.8 kB / 1.117 GB, free: 14.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.32, allocations: 0 / 1.117 GB, free: 14.38 MB / 0.698 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)