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.001458/0.001465, allocations: 96.66 kB / 15.68 MB, free: 488 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.001966/0.001967, allocations: 174.7 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.66/2.66, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.298/1.298, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000597/0.0005971, allocations: 9.656 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3199, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.9775/1.298, allocations: 124.9 MB / 0.6787 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005565/1.298, allocations: 131.7 kB / 0.6788 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/1.298, allocations: 0 / 0.6788 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/1.298, allocations: 3.938 kB / 0.6788 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/1.299, allocations: 3.984 kB / 0.6788 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/1.3, allocations: 92.59 kB / 0.6789 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/1.3, allocations: 15.97 kB / 0.6789 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/1.3, allocations: 0 / 0.6789 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/1.3, allocations: 12 kB / 0.6789 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/1.3, allocations: 15.91 kB / 0.679 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/1.3, allocations: 4 kB / 0.679 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/1.301, allocations: 47.89 kB / 0.679 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/1.301, allocations: 4 kB / 0.679 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/1.301, allocations: 29.7 kB / 0.679 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/1.301, allocations: 38.16 kB / 0.6791 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.301, allocations: 0 / 0.6791 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.378e-06/1.301, allocations: 4 kB / 0.6791 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.301, allocations: 0 / 0.6791 GB, free: 12.84 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.0007638/1.302, allocations: 325.6 kB / 0.6794 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.565e-05/1.302, allocations: 8.031 kB / 0.6794 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/1.302, allocations: 34.55 kB / 0.6794 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/1.303, allocations: 28.77 kB / 0.6795 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/1.303, allocations: 163.1 kB / 0.6796 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/1.303, allocations: 29.66 kB / 0.6796 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/1.303, allocations: 7.938 kB / 0.6796 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/1.304, allocations: 41.69 kB / 0.6797 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.304, allocations: 0 / 0.6797 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.304, allocations: 0 / 0.6797 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/1.304, allocations: 4 kB / 0.6797 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/1.304, allocations: 19.98 kB / 0.6797 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/1.304, allocations: 264.8 kB / 0.68 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/1.305, allocations: 18.52 kB / 0.68 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/1.305, allocations: 0 / 0.68 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/1.305, allocations: 30.56 kB / 0.68 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 5.751e-06/1.305, allocations: 4 kB / 0.68 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002425/1.305, allocations: 37.75 kB / 0.68 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.305, allocations: 55.34 kB / 0.6801 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/1.305, allocations: 109.8 kB / 0.6802 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/1.305, allocations: 25.7 kB / 0.6802 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/1.305, allocations: 91.89 kB / 0.6803 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/1.305, allocations: 7.938 kB / 0.6803 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/1.305, allocations: 0 / 0.6803 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.306, allocations: 322.9 kB / 0.6806 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/1.306, allocations: 7.984 kB / 0.6806 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-05/1.306, allocations: 22.56 kB / 0.6807 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/1.306, allocations: 8 kB / 0.6807 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.306, allocations: 3.938 kB / 0.6807 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000162/1.306, allocations: 53.62 kB / 0.6807 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.306, allocations: 14.28 kB / 0.6807 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.306, allocations: 0 / 0.6807 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.306, allocations: 0 / 0.6807 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.306, allocations: 8 kB / 0.6807 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.306, allocations: 3.984 kB / 0.6808 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/1.306, allocations: 3.906 kB / 0.6808 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/1.306, allocations: 4 kB / 0.6808 GB, free: 10.88 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 0.0001501/1.306, allocations: 117.7 kB / 0.6809 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/1.306, allocations: 4 kB / 0.6809 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/1.307, allocations: 7.125 kB / 0.6809 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.307, allocations: 0 / 0.6809 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.307, allocations: 0 / 0.6809 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.307, allocations: 0 / 0.6809 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/1.307, allocations: 346.7 kB / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.307, allocations: 0 / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/1.307, allocations: 4 kB / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.307, allocations: 3.562 kB / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.307, allocations: 4.031 kB / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.307, allocations: 0 / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.307, allocations: 0 / 0.6812 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.307, allocations: 69.02 kB / 0.6813 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/1.307, allocations: 77.11 kB / 0.6814 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/1.307, allocations: 0 / 0.6814 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/1.308, allocations: 4 kB / 0.6814 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/1.308, allocations: 4.031 kB / 0.6814 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/1.308, allocations: 0 / 0.6814 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.134e-05/1.308, allocations: 91.27 kB / 0.6815 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.308, allocations: 0 / 0.6815 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003539/1.308, allocations: 4 kB / 0.6815 GB, free: 10.05 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.0005693/1.309, allocations: 0.609 MB / 0.6821 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.309, allocations: 8 kB / 0.6821 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.309, allocations: 0 / 0.6821 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/1.309, allocations: 8 kB / 0.6821 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/1.309, allocations: 7.938 kB / 0.6821 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/1.31, allocations: 155 kB / 0.6822 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/1.311, allocations: 0.6809 MB / 0.6829 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001105/1.311, allocations: 4 kB / 0.6829 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/1.311, allocations: 11.44 kB / 0.6829 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/1.311, allocations: 0 / 0.6829 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.417, allocations: 1.132 MB / 0.684 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004663/1.417, allocations: 207.7 kB / 0.6842 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/4.389, allocations: 2.375 kB / 0.6842 GB, free: 7.312 MB / 0.4981 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: