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.001555/0.001555, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 187.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001357/0.001357, allocations: 68.77 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2189, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6459/0.8648, allocations: 147.8 MB / 0.928 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.865, allocations: 47.72 kB / 0.928 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.8651, allocations: 0 / 0.928 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.8652, allocations: 3.266 kB / 0.928 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.8653, allocations: 12.09 kB / 0.9281 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.8658, allocations: 105.4 kB / 0.9282 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.8659, allocations: 27.05 kB / 0.9282 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.8659, allocations: 2.703 kB / 0.9282 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.866, allocations: 18.17 kB / 0.9282 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.8661, allocations: 18.77 kB / 0.9282 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.8661, allocations: 0 / 0.9282 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.8664, allocations: 78.61 kB / 0.9283 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.8664, allocations: 4.359 kB / 0.9283 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.8664, allocations: 13.27 kB / 0.9283 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.8666, allocations: 72.8 kB / 0.9284 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8666, allocations: 4 kB / 0.9284 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8667, allocations: 1.188 kB / 0.9284 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8667, allocations: 0.7031 kB / 0.9284 GB, free: 3.137 MB / 0.7169 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.000552/0.8672, allocations: 338.3 kB / 0.9287 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8673, allocations: 11.7 kB / 0.9287 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.8673, allocations: 31.27 kB / 0.9288 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.8676, allocations: 24.11 kB / 0.9288 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.8677, allocations: 169.3 kB / 0.9289 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.8677, allocations: 33.02 kB / 0.929 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.8678, allocations: 0 / 0.929 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.8679, allocations: 53.77 kB / 0.929 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.8679, allocations: 0 / 0.929 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.868, allocations: 0 / 0.929 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.868, allocations: 7.875 kB / 0.929 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.868, allocations: 18.05 kB / 0.929 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.8684, allocations: 260.9 kB / 0.9293 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.8684, allocations: 17.2 kB / 0.9293 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.8685, allocations: 9.594 kB / 0.9293 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.8685, allocations: 2.625 kB / 0.9293 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.8685, allocations: 32.73 kB / 0.9294 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.8685, allocations: 5.031 kB / 0.9294 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.8687, allocations: 35.52 kB / 0.9294 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.8687, allocations: 56.14 kB / 0.9294 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.8688, allocations: 108.6 kB / 0.9295 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.8688, allocations: 29.42 kB / 0.9296 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.8688, allocations: 88.73 kB / 0.9297 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.8689, allocations: 3.375 kB / 0.9297 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.8689, allocations: 16.86 kB / 0.9297 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.869, allocations: 319.5 kB / 0.93 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.869, allocations: 10.73 kB / 0.93 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.869, allocations: 18.75 kB / 0.93 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.8691, allocations: 31.97 kB / 0.93 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8691, allocations: 6.625 kB / 0.93 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.703e-05/0.8692, allocations: 58.23 kB / 0.9301 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8692, allocations: 6.453 kB / 0.9301 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.8692, allocations: 0 / 0.9301 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8692, allocations: 3.328 kB / 0.9301 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.8693, allocations: 9.938 kB / 0.9301 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.8693, allocations: 3.938 kB / 0.9301 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.8693, allocations: 7.125 kB / 0.9301 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.8693, allocations: 0 / 0.9301 GB, free: 17.36 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.8694, allocations: 114 kB / 0.9302 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.8695, allocations: 3.328 kB / 0.9302 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.8695, allocations: 3.734 kB / 0.9302 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8695, allocations: 2.625 kB / 0.9303 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8695, allocations: 5.031 kB / 0.9303 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.8695, allocations: 0.6094 kB / 0.9303 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.8697, allocations: 347.5 kB / 0.9306 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8698, allocations: 4.031 kB / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.8698, allocations: 3.234 kB / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.8698, allocations: 3.938 kB / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8698, allocations: 2.094 kB / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8698, allocations: 0 / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8698, allocations: 0 / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.634e-05/0.8699, allocations: 59.12 kB / 0.9307 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.8699, allocations: 90.89 kB / 0.9307 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.8699, allocations: 3.328 kB / 0.9307 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.87, allocations: 3.938 kB / 0.9308 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.87, allocations: 0.7031 kB / 0.9308 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.87, allocations: 0 / 0.9308 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.8701, allocations: 84.7 kB / 0.9308 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8701, allocations: 3.938 kB / 0.9308 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002035/0.8703, allocations: 9.062 kB / 0.9308 GB, free: 16.6 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 (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.0002915/0.8706, allocations: 0.6023 MB / 0.9314 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.1e-05/0.8707, allocations: 13.03 kB / 0.9314 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8707, allocations: 0 / 0.9314 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.8707, allocations: 4.484 kB / 0.9314 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.8709, allocations: 9.875 kB / 0.9315 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.8713, allocations: 141.9 kB / 0.9316 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.8716, allocations: 0.6768 MB / 0.9323 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.8716, allocations: 12.42 kB / 0.9323 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.8717, allocations: 14.47 kB / 0.9323 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.8717, allocations: 0 / 0.9323 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.8892, allocations: 1.309 MB / 0.9336 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.483, allocations: 4.562 kB / 0.9336 GB, free: 14.82 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)