Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3266/0.3266, allocations: 54.4 MB / 61.89 MB, free: 13.78 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001324/0.001324, allocations: 183.5 kB / 75.61 MB, free: 0.7773 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.611/1.611, allocations: 194.3 MB / 283.5 MB, free: 14.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001901/0.001901, allocations: 107 kB / 341.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.708e-05, allocations: 0 / 405.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4544, allocations: 57.64 MB / 463.1 MB, free: 51.8 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.23/13.69, allocations: 4.609 GB / 5.061 GB, free: 141 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/13.69, allocations: 78.92 kB / 5.061 GB, free: 141 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08767/13.77, allocations: 44.32 MB / 5.105 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.412e-06/13.77, allocations: 0 / 5.105 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.845e-06/13.77, allocations: 0 / 5.105 GB, free: 134.3 MB / 0.4948 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.0003411/13.77, allocations: 327.2 kB / 5.105 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/13.77, allocations: 9.562 kB / 5.105 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/13.77, allocations: 25.45 kB / 5.105 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/13.77, allocations: 163 kB / 5.105 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/13.77, allocations: 33.56 kB / 5.105 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/13.77, allocations: 0 / 5.105 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.62e-05/13.77, allocations: 18.19 kB / 5.105 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.819e-05/13.77, allocations: 44.05 kB / 5.105 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/13.77, allocations: 0 / 5.105 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/13.77, allocations: 0 / 5.105 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/13.77, allocations: 10.09 kB / 5.105 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/13.78, allocations: 233.3 kB / 5.106 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/13.78, allocations: 21.12 kB / 5.106 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/13.78, allocations: 9.766 kB / 5.106 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/13.78, allocations: 0 / 5.106 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/13.78, allocations: 38.5 kB / 5.106 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/13.78, allocations: 3.938 kB / 5.106 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001532/13.78, allocations: 33.55 kB / 5.106 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/13.78, allocations: 51.41 kB / 5.106 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/13.78, allocations: 100.4 kB / 5.106 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/13.78, allocations: 25.7 kB / 5.106 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/13.78, allocations: 94.69 kB / 5.106 GB, free: 133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/13.78, allocations: 7.906 kB / 5.106 GB, free: 133 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/13.78, allocations: 0 / 5.106 GB, free: 133 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/13.78, allocations: 313.4 kB / 5.106 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/13.78, allocations: 6.438 kB / 5.106 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/13.78, allocations: 18.45 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/13.78, allocations: 14.73 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/13.78, allocations: 4 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.558e-05/13.78, allocations: 41.11 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/13.78, allocations: 3.875 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/13.78, allocations: 3.984 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/13.78, allocations: 3.875 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/13.78, allocations: 9.75 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/13.78, allocations: 0 / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/13.78, allocations: 7.781 kB / 5.106 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/13.78, allocations: 3.953 kB / 5.106 GB, free: 132.6 MB / 0.4948 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 () * 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 7.946e-05/13.78, allocations: 116.9 kB / 5.106 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/13.78, allocations: 0 / 5.106 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/13.78, allocations: 7.062 kB / 5.106 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/13.78, allocations: 0 / 5.106 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/13.78, allocations: 0 / 5.106 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/13.78, allocations: 7.844 kB / 5.106 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/13.78, allocations: 325.7 kB / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/13.78, allocations: 3.656 kB / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/13.78, allocations: 4.031 kB / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/13.78, allocations: 0 / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/13.78, allocations: 1.594 kB / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/13.78, allocations: 0 / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/13.78, allocations: 0 / 5.107 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.824e-05/13.78, allocations: 59.94 kB / 5.107 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/13.78, allocations: 81.09 kB / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/13.78, allocations: 3.969 kB / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/13.78, allocations: 7.719 kB / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/13.78, allocations: 0 / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/13.78, allocations: 0 / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.122e-05/13.78, allocations: 82.16 kB / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/13.78, allocations: 0 / 5.107 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003257/13.78, allocations: 31.92 kB / 5.107 GB, free: 131.9 MB / 0.4948 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 () * 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.0008802/13.78, allocations: 0.6547 MB / 5.108 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.683e-05/13.78, allocations: 16.92 kB / 5.108 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/13.78, allocations: 0 / 5.108 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5e-06/13.78, allocations: 4.5 kB / 5.108 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/13.78, allocations: 7.25 kB / 5.108 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/13.78, allocations: 57.69 kB / 5.108 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/13.78, allocations: 0.68 MB / 5.108 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.607e-05/13.78, allocations: 3.875 kB / 5.108 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/13.78, allocations: 10.53 kB / 5.108 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/13.78, allocations: 0 / 5.108 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.006226/13.79, allocations: 3.721 MB / 5.112 GB, free: 128.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)