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: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007727/0.0007727, allocations: 93.66 kB / 16.02 MB, free: 84 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.0008139/0.0008139, allocations: 176.3 kB / 16.91 MB, free: 6.684 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6885/0.6885, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 77.55 MB / 0.56 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5513/0.7238, allocations: 143.7 MB / 0.7003 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.724, allocations: 54.28 kB / 0.7004 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.724, allocations: 0 / 0.7004 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.515e-05/0.7241, allocations: 0 / 0.7004 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.7242, allocations: 15.92 kB / 0.7004 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.7246, allocations: 99.47 kB / 0.7005 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.7247, allocations: 59.81 kB / 0.7005 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.7248, allocations: 4 kB / 0.7005 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.7248, allocations: 11.94 kB / 0.7005 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.7249, allocations: 19.97 kB / 0.7006 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.7249, allocations: 0 / 0.7006 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.7251, allocations: 77.36 kB / 0.7006 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.7252, allocations: 11.97 kB / 0.7006 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.7252, allocations: 37.64 kB / 0.7007 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.7254, allocations: 72.69 kB / 0.7007 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.7254, allocations: 4 kB / 0.7008 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7254, allocations: 0 / 0.7008 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.7254, allocations: 0 / 0.7008 GB, free: 6.715 MB / 0.5137 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.0003293/0.7258, allocations: 329.4 kB / 0.7011 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.7258, allocations: 12.03 kB / 0.7011 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.726, allocations: 17.55 kB / 0.7011 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.7262, allocations: 164.5 kB / 0.7013 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.7262, allocations: 33.64 kB / 0.7013 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.7262, allocations: 4 kB / 0.7013 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.7264, allocations: 53.59 kB / 0.7013 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.7264, allocations: 0 / 0.7013 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7264, allocations: 0 / 0.7013 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.7264, allocations: 4 kB / 0.7013 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.602e-05/0.7265, allocations: 19.98 kB / 0.7014 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.7269, allocations: 260.9 kB / 0.7016 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.443e-05/0.7269, allocations: 18.52 kB / 0.7016 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.7269, allocations: 4.859 kB / 0.7016 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.7269, allocations: 64 / 0.7016 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.727, allocations: 39.22 kB / 0.7017 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.727, allocations: 0 / 0.7017 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.7271, allocations: 37.69 kB / 0.7017 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.7272, allocations: 51.41 kB / 0.7018 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.7272, allocations: 109.8 kB / 0.7019 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.7273, allocations: 25.7 kB / 0.7019 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.7273, allocations: 99.83 kB / 0.702 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.7273, allocations: 7.938 kB / 0.702 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.7274, allocations: 9.719 kB / 0.702 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7275, allocations: 314.8 kB / 0.7023 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.7275, allocations: 8.109 kB / 0.7023 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.7275, allocations: 26.58 kB / 0.7023 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.7276, allocations: 26.58 kB / 0.7024 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7276, allocations: 7.875 kB / 0.7024 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.64e-05/0.7277, allocations: 57.66 kB / 0.7024 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.7277, allocations: 4 kB / 0.7024 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7277, allocations: 0 / 0.7024 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.7277, allocations: 4 kB / 0.7024 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.7278, allocations: 7.984 kB / 0.7024 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7278, allocations: 3.938 kB / 0.7024 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.7278, allocations: 8.781 kB / 0.7024 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.7279, allocations: 0 / 0.7024 GB, free: 4.738 MB / 0.5137 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 7.448e-05/0.7279, allocations: 113.8 kB / 0.7026 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.728, allocations: 4.062 kB / 0.7026 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.728, allocations: 3.125 kB / 0.7026 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.728, allocations: 4 kB / 0.7026 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.728, allocations: 3.938 kB / 0.7026 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.728, allocations: 0 / 0.7026 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.7283, allocations: 349.3 kB / 0.7029 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.7283, allocations: 96 / 0.7029 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.7283, allocations: 0 / 0.7029 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.7283, allocations: 7.953 kB / 0.7029 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.7283, allocations: 8 kB / 0.7029 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7283, allocations: 0 / 0.7029 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7283, allocations: 0 / 0.7029 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.856e-05/0.7284, allocations: 61.12 kB / 0.703 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.7284, allocations: 85.02 kB / 0.7031 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.7285, allocations: 3.938 kB / 0.7031 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.7286, allocations: 8.031 kB / 0.7031 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.7286, allocations: 3.938 kB / 0.7031 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.7286, allocations: 3.984 kB / 0.7031 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.7286, allocations: 83.28 kB / 0.7032 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7287, allocations: 0 / 0.7032 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001971/0.7289, allocations: 8 kB / 0.7032 GB, free: 3.902 MB / 0.5137 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 8.671e-05/0.7289, allocations: 95.25 kB / 0.7033 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.519e-05/0.729, allocations: 16.11 kB / 0.7033 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.729, allocations: 4.062 kB / 0.7033 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.729, allocations: 7.938 kB / 0.7033 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.7293, allocations: 7.938 kB / 0.7033 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.7295, allocations: 121.1 kB / 0.7034 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.7297, allocations: 0.6778 MB / 0.7041 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.756e-05/0.7298, allocations: 12.06 kB / 0.7041 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.7298, allocations: 7.438 kB / 0.7041 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.7298, allocations: 0 / 0.7041 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of Templates: time 0.002307/0.7321, allocations: 480.8 kB / 0.7045 GB, free: 2.461 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)