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 2.705/2.705, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.001359/0.001358, allocations: 182 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009308/0.0009308, allocations: 80.97 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006959/0.0006963, allocations: 14.61 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2226, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.9206/1.143, allocations: 134 MB / 1.109 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000151/1.144, allocations: 42.62 kB / 1.109 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/1.144, allocations: 1.344 kB / 1.109 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/1.144, allocations: 7.484 kB / 1.109 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/1.144, allocations: 13.34 kB / 1.109 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/1.144, allocations: 71.69 kB / 1.109 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/1.144, allocations: 46.41 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/1.144, allocations: 1.688 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/1.145, allocations: 16.91 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/1.145, allocations: 12.94 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/1.145, allocations: 1.156 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/1.145, allocations: 50.92 kB / 1.11 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/1.145, allocations: 8.453 kB / 1.11 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/1.145, allocations: 28.61 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/1.145, allocations: 33.72 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/1.145, allocations: 3.75 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.825e-06/1.145, allocations: 1.312 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.132e-06/1.145, allocations: 0 / 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.0004544/1.146, allocations: 328.7 kB / 1.11 GB, free: 17.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.146, allocations: 9.781 kB / 1.11 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/1.146, allocations: 39.88 kB / 1.11 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/1.146, allocations: 32.66 kB / 1.11 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.146, allocations: 161.4 kB / 1.11 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/1.146, allocations: 27.38 kB / 1.11 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/1.147, allocations: 3.047 kB / 1.11 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/1.147, allocations: 47.02 kB / 1.11 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/1.147, allocations: 0 / 1.11 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.147, allocations: 7.953 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/1.147, allocations: 2.922 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/1.147, allocations: 25.31 kB / 1.11 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/1.147, allocations: 252.5 kB / 1.111 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/1.147, allocations: 17.62 kB / 1.111 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/1.148, allocations: 9.906 kB / 1.111 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/1.148, allocations: 4 kB / 1.111 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.148, allocations: 34.31 kB / 1.111 GB, free: 16.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/1.148, allocations: 1.125 kB / 1.111 GB, free: 16.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001717/1.148, allocations: 35.77 kB / 1.111 GB, free: 16.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.148, allocations: 52.53 kB / 1.111 GB, free: 16.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.148, allocations: 108.2 kB / 1.111 GB, free: 16.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/1.148, allocations: 27.45 kB / 1.111 GB, free: 16.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/1.148, allocations: 99.14 kB / 1.111 GB, free: 16.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.493e-06/1.148, allocations: 0.75 kB / 1.111 GB, free: 16.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.148, allocations: 1.125 kB / 1.111 GB, free: 16.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.148, allocations: 320.3 kB / 1.111 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/1.148, allocations: 2.875 kB / 1.111 GB, free: 16.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.605e-05/1.148, allocations: 24.97 kB / 1.111 GB, free: 16.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/1.148, allocations: 9.438 kB / 1.111 GB, free: 16.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.148, allocations: 5.406 kB / 1.111 GB, free: 16.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/1.148, allocations: 58.97 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.149, allocations: 5.594 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.149, allocations: 0 / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.149, allocations: 1.969 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/1.149, allocations: 7.453 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.149, allocations: 0 / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/1.149, allocations: 7.469 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.149, allocations: 7.125 kB / 1.111 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 9.103e-05/1.149, allocations: 112 kB / 1.111 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/1.149, allocations: 5.875 kB / 1.111 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/1.149, allocations: 5.188 kB / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.149, allocations: 0 / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.149, allocations: 0 / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.149, allocations: 2.062 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/1.149, allocations: 355.2 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.149, allocations: 5.25 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/1.149, allocations: 2.109 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.149, allocations: 3 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/1.149, allocations: 1.344 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.149, allocations: 0.75 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.149, allocations: 0 / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/1.15, allocations: 60.84 kB / 1.112 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/1.15, allocations: 86.94 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/1.15, allocations: 3.828 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.15, allocations: 4.219 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/1.15, allocations: 5.812 kB / 1.112 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/1.15, allocations: 0 / 1.112 GB, free: 15.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.481e-05/1.15, allocations: 86.52 kB / 1.112 GB, free: 15.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.15, allocations: 0 / 1.112 GB, free: 15.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000258/1.15, allocations: 5.344 kB / 1.112 GB, free: 15.46 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.0003922/1.151, allocations: 0.5958 MB / 1.113 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.731e-05/1.151, allocations: 16.45 kB / 1.113 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.151, allocations: 0 / 1.113 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-06/1.151, allocations: 2.938 kB / 1.113 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/1.151, allocations: 12.14 kB / 1.113 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/1.151, allocations: 144.6 kB / 1.113 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.152, allocations: 0.6753 MB / 1.114 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.518e-05/1.152, allocations: 13.95 kB / 1.114 GB, free: 14.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/1.152, allocations: 12.3 kB / 1.114 GB, free: 14 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/1.152, allocations: 3.938 kB / 1.114 GB, free: 14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/1.171, allocations: 1.121 MB / 1.115 GB, free: 13.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.171, allocations: 217.2 kB / 1.115 GB, free: 13.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.557, allocations: 2.406 kB / 1.115 GB, free: 13.63 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)