Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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.0007323/0.0007322, allocations: 92.39 kB / 15.7 MB, free: 468 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.0007518/0.0007518, allocations: 176.8 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6296/0.6296, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.0002592, allocations: 8.219 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3403/0.4605, allocations: 134 MB / 0.6878 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.4606, allocations: 46.41 kB / 0.6878 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.4607, allocations: 0 / 0.6878 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.4607, allocations: 3.938 kB / 0.6878 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.4608, allocations: 15.97 kB / 0.6879 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.4611, allocations: 88.28 kB / 0.6879 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.4612, allocations: 39.88 kB / 0.688 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.4613, allocations: 4 kB / 0.688 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.4613, allocations: 15.94 kB / 0.688 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.4614, allocations: 15.97 kB / 0.688 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.4614, allocations: 3.938 kB / 0.688 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.4615, allocations: 46.03 kB / 0.6881 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.4616, allocations: 11.92 kB / 0.6881 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.4616, allocations: 29.7 kB / 0.6881 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.258e-05/0.4617, allocations: 42.14 kB / 0.6881 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4617, allocations: 4 kB / 0.6881 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4617, allocations: 0 / 0.6881 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.4617, allocations: 0 / 0.6881 GB, free: 4.535 MB / 0.4981 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.0002749/0.462, allocations: 323.4 kB / 0.6885 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.462, allocations: 16.03 kB / 0.6885 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.4621, allocations: 30.56 kB / 0.6885 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4623, allocations: 16.77 kB / 0.6885 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.4624, allocations: 163.1 kB / 0.6887 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.4624, allocations: 37.64 kB / 0.6887 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.4624, allocations: 0 / 0.6887 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.4625, allocations: 45.62 kB / 0.6887 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.4626, allocations: 4 kB / 0.6888 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4626, allocations: 4 kB / 0.6888 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.4626, allocations: 0 / 0.6888 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.4627, allocations: 19.98 kB / 0.6888 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.463, allocations: 260.8 kB / 0.689 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.954e-05/0.463, allocations: 19.17 kB / 0.689 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.463, allocations: 12.92 kB / 0.6891 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.463, allocations: 0 / 0.6891 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.463, allocations: 30.56 kB / 0.6891 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.4631, allocations: 0 / 0.6891 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001055/0.4632, allocations: 33.69 kB / 0.6891 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.4632, allocations: 59.41 kB / 0.6892 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.4633, allocations: 105.8 kB / 0.6893 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4633, allocations: 29.83 kB / 0.6893 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.4633, allocations: 95.89 kB / 0.6894 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/0.4633, allocations: 0 / 0.6894 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.4634, allocations: 0 / 0.6894 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.4634, allocations: 326.7 kB / 0.6897 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.4635, allocations: 7.922 kB / 0.6897 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.4635, allocations: 22.56 kB / 0.6897 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.4635, allocations: 16 kB / 0.6897 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4635, allocations: 0 / 0.6897 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.213e-05/0.4636, allocations: 53.62 kB / 0.6898 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4636, allocations: 4 kB / 0.6898 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4636, allocations: 0 / 0.6898 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4636, allocations: 5.938 kB / 0.6898 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.4637, allocations: 7.984 kB / 0.6898 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4637, allocations: 0 / 0.6898 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.4637, allocations: 12 kB / 0.6898 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.4637, allocations: 0 / 0.6898 GB, free: 2.57 MB / 0.4981 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 5.828e-05/0.4638, allocations: 121.7 kB / 0.6899 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.4638, allocations: 0 / 0.6899 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.4639, allocations: 3.125 kB / 0.6899 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.4639, allocations: 4 kB / 0.6899 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4639, allocations: 0 / 0.6899 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.4639, allocations: 0 / 0.6899 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.4641, allocations: 354.7 kB / 0.6903 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4641, allocations: 0 / 0.6903 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.4641, allocations: 0 / 0.6903 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4641, allocations: 0 / 0.6903 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4641, allocations: 4 kB / 0.6903 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4641, allocations: 0.5625 kB / 0.6903 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4641, allocations: 0 / 0.6903 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.422e-05/0.4642, allocations: 69.05 kB / 0.6904 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.4642, allocations: 81.11 kB / 0.6904 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4643, allocations: 0 / 0.6904 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.4643, allocations: 7.938 kB / 0.6904 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.4643, allocations: 0 / 0.6904 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.4644, allocations: 0 / 0.6904 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.4644, allocations: 87.27 kB / 0.6905 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4644, allocations: 0 / 0.6905 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001767/0.4646, allocations: 8 kB / 0.6905 GB, free: 1.738 MB / 0.4981 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.0002557/0.4648, allocations: 0.609 MB / 0.6911 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.791e-05/0.4649, allocations: 12 kB / 0.6911 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4649, allocations: 3.938 kB / 0.6911 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.4649, allocations: 224 / 0.6911 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4651, allocations: 9.375 kB / 0.6912 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.4654, allocations: 154.7 kB / 0.6913 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.4656, allocations: 0.677 MB / 0.692 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.4656, allocations: 8 kB / 0.692 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.4657, allocations: 7.438 kB / 0.692 GB, free: 168 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4657, allocations: 0 / 0.692 GB, free: 168 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009364/0.475, allocations: 1.145 MB / 0.6931 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.4752, allocations: 219.3 kB / 0.6933 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/1.88, allocations: 2.875 kB / 0.6933 GB, free: 14.99 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: