Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001131/0.001131, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001147/0.001147, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7952/0.7952, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 61.56 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1752, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5708/0.7461, allocations: 147.8 MB / 0.8047 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.7462, allocations: 48.53 kB / 0.8048 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.7463, allocations: 0 / 0.8048 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.7464, allocations: 10.8 kB / 0.8048 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.7465, allocations: 7.656 kB / 0.8048 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.747, allocations: 109.3 kB / 0.8049 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.7471, allocations: 36.56 kB / 0.8049 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.7471, allocations: 1.25 kB / 0.8049 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.7472, allocations: 15.33 kB / 0.8049 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.7473, allocations: 17.98 kB / 0.805 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.7473, allocations: 0 / 0.805 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.7475, allocations: 85.25 kB / 0.805 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.7476, allocations: 8.828 kB / 0.805 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.7476, allocations: 15.45 kB / 0.8051 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.7478, allocations: 69.03 kB / 0.8051 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.7478, allocations: 4.375 kB / 0.8051 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.677e-06/0.7478, allocations: 0 / 0.8051 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7478, allocations: 3.938 kB / 0.8051 GB, free: 11.94 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.0004323/0.7483, allocations: 334.7 kB / 0.8055 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7483, allocations: 10.19 kB / 0.8055 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.7485, allocations: 25.23 kB / 0.8055 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7487, allocations: 165.6 kB / 0.8056 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/0.7488, allocations: 33.58 kB / 0.8057 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7488, allocations: 1.188 kB / 0.8057 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.7489, allocations: 50 kB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.749, allocations: 0 / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.749, allocations: 3.156 kB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.749, allocations: 2.312 kB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.7491, allocations: 21.58 kB / 0.8057 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.7495, allocations: 258.8 kB / 0.806 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.656e-05/0.7495, allocations: 20.45 kB / 0.806 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.7495, allocations: 6.078 kB / 0.806 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.7495, allocations: 0 / 0.806 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.7496, allocations: 36 kB / 0.8061 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.7496, allocations: 0 / 0.8061 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.7497, allocations: 41.25 kB / 0.8061 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.7498, allocations: 52.66 kB / 0.8061 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.7499, allocations: 107.3 kB / 0.8062 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.7499, allocations: 25.7 kB / 0.8063 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.75, allocations: 94.88 kB / 0.8064 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.75, allocations: 8.719 kB / 0.8064 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.75, allocations: 16.48 kB / 0.8064 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7501, allocations: 315.3 kB / 0.8067 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.7501, allocations: 5.062 kB / 0.8067 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.7502, allocations: 27.08 kB / 0.8067 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.7502, allocations: 35.39 kB / 0.8068 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7502, allocations: 1.219 kB / 0.8068 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.589e-05/0.7503, allocations: 56.53 kB / 0.8068 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7504, allocations: 6.609 kB / 0.8068 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7504, allocations: 6.812 kB / 0.8068 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.7504, allocations: 1.406 kB / 0.8068 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.7505, allocations: 5.562 kB / 0.8068 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7505, allocations: 5.281 kB / 0.8068 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.7505, allocations: 5.531 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.7505, allocations: 2.531 kB / 0.8068 GB, free: 10.2 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.755e-05/0.7506, allocations: 114.9 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.7506, allocations: 1.344 kB / 0.807 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.7507, allocations: 4.406 kB / 0.807 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.7507, allocations: 0 / 0.807 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.7507, allocations: 5.281 kB / 0.807 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7507, allocations: 2.344 kB / 0.807 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.751, allocations: 349.8 kB / 0.8073 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.751, allocations: 1.156 kB / 0.8073 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.751, allocations: 1.281 kB / 0.8073 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.751, allocations: 3.938 kB / 0.8073 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.751, allocations: 4.094 kB / 0.8073 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.751, allocations: 0 / 0.8073 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.751, allocations: 4.031 kB / 0.8073 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.7511, allocations: 66.78 kB / 0.8074 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.7512, allocations: 84.23 kB / 0.8075 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.7512, allocations: 9 kB / 0.8075 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.7513, allocations: 4.297 kB / 0.8075 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.7513, allocations: 1.531 kB / 0.8075 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.7513, allocations: 0 / 0.8075 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.7514, allocations: 81.98 kB / 0.8075 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7514, allocations: 0 / 0.8075 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002033/0.7516, allocations: 9.469 kB / 0.8076 GB, free: 9.438 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.866e-05/0.7517, allocations: 103.3 kB / 0.8077 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.7518, allocations: 11.91 kB / 0.8077 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7518, allocations: 0 / 0.8077 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.7518, allocations: 2.875 kB / 0.8077 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.752, allocations: 8.812 kB / 0.8077 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.7523, allocations: 139.2 kB / 0.8078 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.7526, allocations: 0.6744 MB / 0.8085 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.7526, allocations: 9.938 kB / 0.8085 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.7526, allocations: 3.938 kB / 0.8085 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.002092/0.7547, allocations: 0.5648 MB / 0.809 GB, free: 8.484 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)