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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001088/0.001088, allocations: 184.9 kB / 326.5 MB, free: 2.27 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.723/1.723, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008606/0.0008607, allocations: 82.38 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 13.23 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2668, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1476/0.4144, allocations: 124.9 MB / 1.022 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0002385/0.4147, allocations: 131.7 kB / 1.022 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.4147, allocations: 0 / 1.022 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.4149, allocations: 3.984 kB / 1.022 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.4149, allocations: 7.984 kB / 1.022 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.4153, allocations: 75.75 kB / 1.022 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.4154, allocations: 19.95 kB / 1.022 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.4154, allocations: 7.938 kB / 1.022 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.4155, allocations: 4 kB / 1.022 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.4156, allocations: 11.98 kB / 1.022 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4156, allocations: 0 / 1.022 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.4158, allocations: 51.89 kB / 1.022 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.4158, allocations: 4 kB / 1.022 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.4159, allocations: 29.64 kB / 1.022 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.416, allocations: 31.95 kB / 1.022 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.416, allocations: 11.94 kB / 1.023 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.553e-06/0.416, allocations: 0 / 1.023 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.416, allocations: 0 / 1.023 GB, free: 2.258 MB / 0.6667 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.0004105/0.4164, allocations: 331.6 kB / 1.023 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4165, allocations: 8.031 kB / 1.023 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.4165, allocations: 30.56 kB / 1.023 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.4168, allocations: 19.94 kB / 1.023 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4169, allocations: 175.1 kB / 1.023 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.417, allocations: 25.7 kB / 1.023 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.417, allocations: 0 / 1.023 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.4172, allocations: 45.69 kB / 1.023 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.4172, allocations: 0 / 1.023 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4172, allocations: 0 / 1.023 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.4172, allocations: 11.92 kB / 1.023 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.4173, allocations: 19.94 kB / 1.023 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.4177, allocations: 256.8 kB / 1.023 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.91e-05/0.4177, allocations: 18.58 kB / 1.023 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.4177, allocations: 0 / 1.023 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.4178, allocations: 34.59 kB / 1.023 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.4178, allocations: 0 / 1.023 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.4179, allocations: 45.66 kB / 1.023 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.418, allocations: 51.41 kB / 1.024 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.4181, allocations: 109.8 kB / 1.024 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4181, allocations: 29.64 kB / 1.024 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.4182, allocations: 91.98 kB / 1.024 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.4182, allocations: 3.906 kB / 1.024 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.4182, allocations: 0 / 1.024 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4183, allocations: 318.8 kB / 1.024 GB, free: 452 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.4183, allocations: 12.11 kB / 1.024 GB, free: 440 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.4184, allocations: 18.58 kB / 1.024 GB, free: 412 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.4184, allocations: 11.94 kB / 1.024 GB, free: 400 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4184, allocations: 0 / 1.024 GB, free: 400 kB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.855e-05/0.4185, allocations: 57.56 kB / 1.024 GB, free: 336 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4185, allocations: 4.094 kB / 1.024 GB, free: 332 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4185, allocations: 8 kB / 1.024 GB, free: 324 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4185, allocations: 3.953 kB / 1.024 GB, free: 320 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.4186, allocations: 7.984 kB / 1.024 GB, free: 312 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4186, allocations: 4 kB / 1.024 GB, free: 308 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.4187, allocations: 0 / 1.024 GB, free: 308 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.4187, allocations: 0 / 1.024 GB, free: 308 kB / 0.6667 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 8.123e-05/0.4188, allocations: 109.8 kB / 1.024 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4188, allocations: 3.906 kB / 1.024 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.4188, allocations: 15.12 kB / 1.024 GB, free: 168 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4188, allocations: 3.953 kB / 1.024 GB, free: 164 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4189, allocations: 0 / 1.024 GB, free: 164 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4189, allocations: 0 / 1.024 GB, free: 164 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.4191, allocations: 350.7 kB / 1.025 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4191, allocations: 0 / 1.025 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.4192, allocations: 0 / 1.025 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4192, allocations: 7.953 kB / 1.025 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4192, allocations: 0 / 1.025 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4192, allocations: 4.031 kB / 1.025 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4192, allocations: 0 / 1.025 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.4193, allocations: 65.06 kB / 1.025 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.4193, allocations: 81.19 kB / 1.025 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4194, allocations: 3.953 kB / 1.025 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.4194, allocations: 4 kB / 1.025 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.4195, allocations: 0 / 1.025 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.4195, allocations: 4.031 kB / 1.025 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.4195, allocations: 91.52 kB / 1.025 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4195, allocations: 0 / 1.025 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001876/0.4197, allocations: 8 kB / 1.025 GB, free: 15.46 MB / 0.6823 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.0003259/0.4201, allocations: 0.5968 MB / 1.025 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/0.4201, allocations: 15.88 kB / 1.025 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4202, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.4202, allocations: 4 kB / 1.026 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.4204, allocations: 15 kB / 1.026 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.4207, allocations: 150.4 kB / 1.026 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.421, allocations: 0.6848 MB / 1.026 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.588e-05/0.421, allocations: 4 kB / 1.026 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.4211, allocations: 19.42 kB / 1.026 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4211, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.4324, allocations: 1.103 MB / 1.027 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.4326, allocations: 220.6 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.977, allocations: 0 / 1.028 GB, free: 12.75 MB / 0.6823 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)