Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009781/0.000978, allocations: 91.06 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000993/0.000993, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005151, allocations: 11.97 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2408, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6221/0.863, allocations: 134.1 MB / 0.9183 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001202/0.8632, allocations: 44.86 kB / 0.9183 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.8632, allocations: 0 / 0.9183 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.8633, allocations: 4.031 kB / 0.9183 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.8634, allocations: 21.81 kB / 0.9184 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.8638, allocations: 67 kB / 0.9184 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.8639, allocations: 44.84 kB / 0.9185 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.8639, allocations: 3.891 kB / 0.9185 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.864, allocations: 15.27 kB / 0.9185 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.864, allocations: 16.67 kB / 0.9185 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.8641, allocations: 5.75 kB / 0.9185 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.8643, allocations: 46.39 kB / 0.9186 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.8643, allocations: 7.406 kB / 0.9186 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.8646, allocations: 28.02 kB / 0.9186 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.8647, allocations: 33.55 kB / 0.9186 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8647, allocations: 0 / 0.9186 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8647, allocations: 0 / 0.9186 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.8647, allocations: 0 / 0.9186 GB, free: 21.85 MB / 0.7325 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.0004513/0.8652, allocations: 335.4 kB / 0.9189 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.8652, allocations: 9.562 kB / 0.919 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.8653, allocations: 34.39 kB / 0.919 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.8655, allocations: 26.02 kB / 0.919 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8657, allocations: 163.1 kB / 0.9192 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.8657, allocations: 29.41 kB / 0.9192 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.8658, allocations: 6.547 kB / 0.9192 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.8659, allocations: 50.59 kB / 0.9192 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.8659, allocations: 0 / 0.9192 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.8659, allocations: 0.8438 kB / 0.9192 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.866, allocations: 6.375 kB / 0.9193 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.235e-05/0.866, allocations: 19.89 kB / 0.9193 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.8664, allocations: 255.4 kB / 0.9195 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.135e-05/0.8665, allocations: 18.36 kB / 0.9195 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.8665, allocations: 9.875 kB / 0.9195 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.8665, allocations: 0.8125 kB / 0.9195 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.8665, allocations: 36.38 kB / 0.9196 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8665, allocations: 0 / 0.9196 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.8667, allocations: 33.47 kB / 0.9196 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.8667, allocations: 58.91 kB / 0.9197 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.8668, allocations: 104 kB / 0.9198 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.8668, allocations: 30.39 kB / 0.9198 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.8669, allocations: 94.97 kB / 0.9199 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/0.8669, allocations: 1.578 kB / 0.9199 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.8669, allocations: 0 / 0.9199 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.867, allocations: 316.6 kB / 0.9202 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.867, allocations: 3.391 kB / 0.9202 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.8671, allocations: 30.81 kB / 0.9202 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.8671, allocations: 10.3 kB / 0.9202 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8671, allocations: 2.844 kB / 0.9202 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.544e-05/0.8672, allocations: 50.78 kB / 0.9203 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8672, allocations: 10.59 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8672, allocations: 0.9062 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8672, allocations: 5.703 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.8673, allocations: 15.39 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8673, allocations: 1.766 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.8674, allocations: 5.781 kB / 0.9203 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.8674, allocations: 3.094 kB / 0.9203 GB, free: 20.13 MB / 0.7325 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 7.463e-05/0.8675, allocations: 112.2 kB / 0.9204 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.8675, allocations: 2.219 kB / 0.9204 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.8675, allocations: 10.48 kB / 0.9204 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8675, allocations: 0 / 0.9204 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.8675, allocations: 7.875 kB / 0.9205 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8675, allocations: 0 / 0.9205 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.8678, allocations: 341.2 kB / 0.9208 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8678, allocations: 0.875 kB / 0.9208 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.8678, allocations: 6.391 kB / 0.9208 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8678, allocations: 0 / 0.9208 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.8678, allocations: 1.562 kB / 0.9208 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8678, allocations: 0 / 0.9208 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8679, allocations: 5 kB / 0.9208 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.722e-05/0.8679, allocations: 59.62 kB / 0.9208 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.868, allocations: 82.59 kB / 0.9209 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.868, allocations: 5.781 kB / 0.9209 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.8681, allocations: 5.859 kB / 0.9209 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.8681, allocations: 3.469 kB / 0.9209 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.8681, allocations: 3.438 kB / 0.9209 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.8681, allocations: 89.06 kB / 0.921 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8682, allocations: 0 / 0.921 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000215/0.8684, allocations: 5.719 kB / 0.921 GB, free: 19.38 MB / 0.7325 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.0003282/0.8687, allocations: 0.5934 MB / 0.9216 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.8688, allocations: 19.03 kB / 0.9216 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8688, allocations: 1.094 kB / 0.9216 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.8688, allocations: 4.625 kB / 0.9216 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.869, allocations: 10.58 kB / 0.9216 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.8694, allocations: 147.5 kB / 0.9218 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.8697, allocations: 0.68 MB / 0.9225 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.692e-05/0.8697, allocations: 5.25 kB / 0.9225 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.8698, allocations: 11.69 kB / 0.9225 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8698, allocations: 2.734 kB / 0.9225 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.8806, allocations: 1.114 MB / 0.9236 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.8808, allocations: 227.3 kB / 0.9238 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.537, allocations: 0 / 0.9238 GB, free: 17.57 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: