Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006862/0.006862, allocations: 102.1 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 193.5 kB / 16.68 MB, free: 5.973 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8419/0.8419, allocations: 135.2 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 61.34 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1825, allocations: 80.91 MB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6602/0.8427, allocations: 147.9 MB / 0.809 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.8429, allocations: 56.53 kB / 0.8091 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.843, allocations: 1.281 kB / 0.8091 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.8431, allocations: 5.953 kB / 0.8091 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.708e-05/0.8433, allocations: 5.312 kB / 0.8091 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.8438, allocations: 106.6 kB / 0.8092 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.633e-05/0.8439, allocations: 35.86 kB / 0.8092 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.844, allocations: 7.312 kB / 0.8092 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.844, allocations: 18.8 kB / 0.8093 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.8441, allocations: 15.09 kB / 0.8093 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.8441, allocations: 1.156 kB / 0.8093 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.8444, allocations: 79.17 kB / 0.8093 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.8444, allocations: 8.844 kB / 0.8094 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.8445, allocations: 18.47 kB / 0.8094 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.8446, allocations: 71.5 kB / 0.8094 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8447, allocations: 0 / 0.8094 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8447, allocations: 0 / 0.8094 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.8447, allocations: 4 kB / 0.8094 GB, free: 11.52 MB / 0.5919 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.0004483/0.8451, allocations: 339.1 kB / 0.8098 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8452, allocations: 10.17 kB / 0.8098 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.8454, allocations: 17.11 kB / 0.8098 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.8455, allocations: 169.2 kB / 0.81 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.8456, allocations: 36.39 kB / 0.81 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.8456, allocations: 6.719 kB / 0.81 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.8458, allocations: 45.67 kB / 0.81 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8458, allocations: 0 / 0.81 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8458, allocations: 3.625 kB / 0.81 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.8458, allocations: 4.734 kB / 0.81 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.8459, allocations: 18.88 kB / 0.8101 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.8463, allocations: 257.3 kB / 0.8103 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.8463, allocations: 20.86 kB / 0.8103 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.8463, allocations: 8.141 kB / 0.8103 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.8464, allocations: 0 / 0.8103 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.8464, allocations: 34.25 kB / 0.8104 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8464, allocations: 0 / 0.8104 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.8465, allocations: 38.56 kB / 0.8104 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.8466, allocations: 59.47 kB / 0.8105 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.8467, allocations: 108.8 kB / 0.8106 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.8467, allocations: 25.7 kB / 0.8106 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.8467, allocations: 94.27 kB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.8468, allocations: 6.766 kB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.8468, allocations: 14.84 kB / 0.8107 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.8469, allocations: 315.6 kB / 0.811 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.8469, allocations: 3.062 kB / 0.811 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.847, allocations: 33.08 kB / 0.811 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.847, allocations: 34.48 kB / 0.8111 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.847, allocations: 0 / 0.8111 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.203e-05/0.8471, allocations: 51.55 kB / 0.8111 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8471, allocations: 8.719 kB / 0.8111 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8471, allocations: 0 / 0.8111 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.8471, allocations: 2.969 kB / 0.8111 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.8472, allocations: 6.953 kB / 0.8111 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8472, allocations: 3.938 kB / 0.8111 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.8473, allocations: 5.812 kB / 0.8111 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.8473, allocations: 2.438 kB / 0.8112 GB, free: 9.781 MB / 0.5919 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.716e-05/0.8474, allocations: 111.3 kB / 0.8113 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.8474, allocations: 7.891 kB / 0.8113 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.8474, allocations: 12.81 kB / 0.8113 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8474, allocations: 96 / 0.8113 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8474, allocations: 9.234 kB / 0.8113 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8475, allocations: 0 / 0.8113 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.8478, allocations: 346.7 kB / 0.8116 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8478, allocations: 3.625 kB / 0.8116 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.8478, allocations: 0 / 0.8116 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8478, allocations: 3.938 kB / 0.8116 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.8478, allocations: 2.875 kB / 0.8116 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8478, allocations: 4 kB / 0.8116 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8478, allocations: 0 / 0.8116 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.228e-05/0.8479, allocations: 60.05 kB / 0.8117 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.8479, allocations: 82.11 kB / 0.8118 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.848, allocations: 3.938 kB / 0.8118 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.848, allocations: 5.031 kB / 0.8118 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.8481, allocations: 4.031 kB / 0.8118 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.8481, allocations: 6.812 kB / 0.8118 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.8481, allocations: 83.2 kB / 0.8119 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8481, allocations: 0 / 0.8119 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001834/0.8483, allocations: 7.281 kB / 0.8119 GB, free: 9.008 MB / 0.5919 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 9.753e-05/0.8484, allocations: 96.33 kB / 0.812 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.024e-05/0.8485, allocations: 21.06 kB / 0.812 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8485, allocations: 192 / 0.812 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.8485, allocations: 6.562 kB / 0.812 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.8488, allocations: 4.406 kB / 0.812 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.849, allocations: 106.4 kB / 0.8121 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.8493, allocations: 0.6738 MB / 0.8128 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.041e-05/0.8494, allocations: 10.94 kB / 0.8128 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.8494, allocations: 7.438 kB / 0.8128 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.8494, allocations: 0 / 0.8128 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of Templates: time 0.00245/0.8519, allocations: 0.5052 MB / 0.8133 GB, free: 8.055 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)