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 2.31/2.31, allocations: 252 MB / 267.3 MB, free: 10.84 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.001553/0.001553, allocations: 180.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.073/3.073, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.001117/0.001117, allocations: 87.47 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005689/0.0005692, allocations: 9.031 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3355, allocations: 106.3 MB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2463/0.5819, allocations: 143.7 MB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.5821, allocations: 55.86 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.5821, allocations: 0 / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.5823, allocations: 0 / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.5824, allocations: 15.91 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.5831, allocations: 90.44 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.5832, allocations: 63.8 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.5833, allocations: 4 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.5834, allocations: 8 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.5835, allocations: 15.92 kB / 1.042 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.5835, allocations: 0 / 1.042 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.5839, allocations: 83.72 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.584, allocations: 7.984 kB / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.5841, allocations: 41.62 kB / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.5843, allocations: 63.92 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5843, allocations: 0 / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5843, allocations: 4 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5844, allocations: 0 / 1.042 GB, free: 15.02 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.0005702/0.5849, allocations: 329.5 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.585, allocations: 8.031 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.5851, allocations: 42.67 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.5854, allocations: 24.92 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.5856, allocations: 168.1 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.5857, allocations: 25.7 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.5857, allocations: 4 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.5859, allocations: 45.67 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.586, allocations: 0 / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.586, allocations: 7.938 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.586, allocations: 0 / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.5861, allocations: 31.91 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.5867, allocations: 264.8 kB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.5868, allocations: 14.58 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.5868, allocations: 4.922 kB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.5868, allocations: 4 kB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.5869, allocations: 38.56 kB / 1.043 GB, free: 13.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/0.5869, allocations: 0 / 1.043 GB, free: 13.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001815/0.5871, allocations: 33.64 kB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.5872, allocations: 59.33 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.5873, allocations: 101.9 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.5873, allocations: 29.7 kB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.5874, allocations: 95.88 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.5874, allocations: 4.125 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.5875, allocations: 4 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5876, allocations: 314.8 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.5877, allocations: 0 / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.5877, allocations: 30.56 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.5878, allocations: 34.52 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5878, allocations: 0 / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/0.588, allocations: 53.62 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.588, allocations: 4 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.588, allocations: 0 / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.588, allocations: 4 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.5881, allocations: 7.938 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.5882, allocations: 3.984 kB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.5882, allocations: 4 kB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.5883, allocations: 4.094 kB / 1.043 GB, free: 13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.5884, allocations: 121.7 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.5884, allocations: 7.906 kB / 1.044 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.5885, allocations: 3.125 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5885, allocations: 3.938 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5885, allocations: 4 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5885, allocations: 0 / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.5889, allocations: 346.8 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5889, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.589, allocations: 3.938 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.589, allocations: 0 / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.589, allocations: 0 / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.589, allocations: 4.25 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.589, allocations: 0 / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.193e-05/0.5891, allocations: 61.02 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.5892, allocations: 97.09 kB / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.5892, allocations: 0 / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5894, allocations: 4 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.5894, allocations: 0 / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5894, allocations: 0 / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.271e-05/0.5895, allocations: 87.27 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5895, allocations: 0 / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003466/0.5899, allocations: 8 kB / 1.044 GB, free: 12.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/0.5903, allocations: 0.6045 MB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.806e-05/0.5905, allocations: 8 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5905, allocations: 0 / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.5905, allocations: 4 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5909, allocations: 16.28 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.5914, allocations: 158.1 kB / 1.045 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5918, allocations: 0.6731 MB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.5919, allocations: 12.06 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.5919, allocations: 11.44 kB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.5919, allocations: 0 / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04507/0.637, allocations: 1.121 MB / 1.047 GB, free: 9.668 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003787/0.6375, allocations: 241.5 kB / 1.047 GB, free: 9.418 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.622, allocations: 0 / 1.047 GB, free: 9.418 MB / 0.698 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)