Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.444/1.444, allocations: 287.4 MB / 302.5 MB, free: 8.145 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.0009533/0.0009533, allocations: 186.2 kB / 371.1 MB, free: 10.82 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.21/1.21, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0006911/0.000691, allocations: 103.3 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 11.48 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4538/0.6182, allocations: 134 MB / 1.11 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001066/0.6183, allocations: 48.28 kB / 1.11 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.6184, allocations: 1.859 kB / 1.11 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.6185, allocations: 1.922 kB / 1.11 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.6186, allocations: 11.83 kB / 1.11 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.619, allocations: 77.06 kB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.619, allocations: 46.25 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.6191, allocations: 2.141 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.6191, allocations: 10.48 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.6192, allocations: 17.22 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.6192, allocations: 1.312 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.6194, allocations: 50.53 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.6194, allocations: 8.859 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.6195, allocations: 32.42 kB / 1.11 GB, free: 17.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.6196, allocations: 36.17 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6196, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6196, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.6196, allocations: 3.281 kB / 1.11 GB, free: 17.96 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.0003311/0.62, allocations: 328.5 kB / 1.11 GB, free: 17.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.62, allocations: 9.531 kB / 1.11 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.6201, allocations: 32.62 kB / 1.11 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.6202, allocations: 28.52 kB / 1.11 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.6204, allocations: 165.5 kB / 1.111 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.6204, allocations: 33.69 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.6204, allocations: 1.344 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.6206, allocations: 44.77 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.6206, allocations: 1.406 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.6206, allocations: 0 / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.6206, allocations: 6.922 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.6207, allocations: 21.2 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.621, allocations: 258.2 kB / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.877e-05/0.621, allocations: 20.44 kB / 1.111 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.6211, allocations: 8.031 kB / 1.111 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-06/0.6211, allocations: 1.312 kB / 1.111 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.6211, allocations: 38.36 kB / 1.111 GB, free: 16.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6211, allocations: 1.375 kB / 1.111 GB, free: 16.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.6212, allocations: 36.58 kB / 1.111 GB, free: 16.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.6212, allocations: 55.34 kB / 1.111 GB, free: 16.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.6213, allocations: 104.2 kB / 1.111 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.6213, allocations: 25.7 kB / 1.111 GB, free: 16.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.6214, allocations: 96.95 kB / 1.111 GB, free: 16.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.6214, allocations: 11.03 kB / 1.111 GB, free: 16.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.6214, allocations: 0 / 1.111 GB, free: 16.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.6215, allocations: 312.9 kB / 1.112 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.6215, allocations: 7.922 kB / 1.112 GB, free: 16.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.6215, allocations: 21.25 kB / 1.112 GB, free: 16.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.6216, allocations: 34.47 kB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6216, allocations: 1.188 kB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.024e-05/0.6217, allocations: 56.89 kB / 1.112 GB, free: 16.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6217, allocations: 6.359 kB / 1.112 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6217, allocations: 0 / 1.112 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6217, allocations: 1.469 kB / 1.112 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.6218, allocations: 6.688 kB / 1.112 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6218, allocations: 5.438 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.6218, allocations: 5.344 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.6218, allocations: 7.375 kB / 1.112 GB, free: 16.21 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 6.534e-05/0.6219, allocations: 108 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.6219, allocations: 1.469 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.622, allocations: 10.97 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.622, allocations: 0 / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.622, allocations: 5.375 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.622, allocations: 4.828 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.6222, allocations: 347 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6222, allocations: 0 / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.6222, allocations: 3.422 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6222, allocations: 5.688 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.6222, allocations: 0 / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6223, allocations: 1.406 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6223, allocations: 0.6094 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.366e-05/0.6223, allocations: 66.19 kB / 1.112 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.6224, allocations: 86.56 kB / 1.112 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.6224, allocations: 1.719 kB / 1.112 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.6225, allocations: 8.922 kB / 1.112 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.6225, allocations: 4.781 kB / 1.112 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.6225, allocations: 1.125 kB / 1.112 GB, free: 15.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.6226, allocations: 85.44 kB / 1.112 GB, free: 15.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6226, allocations: 0 / 1.112 GB, free: 15.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001652/0.6228, allocations: 5.969 kB / 1.112 GB, free: 15.45 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.0003187/0.6231, allocations: 0.5957 MB / 1.113 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.6232, allocations: 16.77 kB / 1.113 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6232, allocations: 1.031 kB / 1.113 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-06/0.6232, allocations: 5.047 kB / 1.113 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.6234, allocations: 7.109 kB / 1.113 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.6238, allocations: 148.9 kB / 1.113 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.624, allocations: 0.6763 MB / 1.114 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.806e-05/0.6241, allocations: 10.05 kB / 1.114 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.6241, allocations: 12.31 kB / 1.114 GB, free: 13.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6241, allocations: 1.859 kB / 1.114 GB, free: 13.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/0.9493, allocations: 1.108 MB / 1.115 GB, free: 13.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.9495, allocations: 220.8 kB / 1.115 GB, free: 13.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.432, allocations: 0.9062 kB / 1.115 GB, free: 13.62 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)