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-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_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.0009002/0.0009039, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000942/0.000942, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8816/0.8816, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.359/0.5014, allocations: 124.9 MB / 0.7091 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.5017, allocations: 141.6 kB / 0.7093 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.5017, allocations: 0 / 0.7093 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.5019, allocations: 4.594 kB / 0.7093 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.5019, allocations: 7.297 kB / 0.7093 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.5023, allocations: 78.33 kB / 0.7094 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.5023, allocations: 18.44 kB / 0.7094 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.5024, allocations: 2.75 kB / 0.7094 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.5024, allocations: 17 kB / 0.7094 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.5025, allocations: 9.031 kB / 0.7094 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.5025, allocations: 1.438 kB / 0.7094 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.5027, allocations: 54.73 kB / 0.7095 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.5028, allocations: 9.656 kB / 0.7095 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.5028, allocations: 27.92 kB / 0.7095 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.5029, allocations: 33.38 kB / 0.7095 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.5029, allocations: 0 / 0.7095 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5029, allocations: 0.6562 kB / 0.7095 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.5029, allocations: 0 / 0.7095 GB, free: 3.293 MB / 0.5294 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.0003375/0.5033, allocations: 332.3 kB / 0.7099 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.5033, allocations: 9.594 kB / 0.7099 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.5035, allocations: 22.03 kB / 0.7099 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5037, allocations: 161.4 kB / 0.71 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.5037, allocations: 31.38 kB / 0.7101 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.5037, allocations: 3.438 kB / 0.7101 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5039, allocations: 57.22 kB / 0.7101 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.5039, allocations: 0 / 0.7101 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5039, allocations: 5.406 kB / 0.7101 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5039, allocations: 1.969 kB / 0.7101 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.504, allocations: 18.53 kB / 0.7101 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.5043, allocations: 257 kB / 0.7104 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.5044, allocations: 25.11 kB / 0.7104 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.5044, allocations: 5.062 kB / 0.7104 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5044, allocations: 31.81 kB / 0.7105 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.5044, allocations: 1.344 kB / 0.7105 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.5046, allocations: 40.67 kB / 0.7105 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.5046, allocations: 55.34 kB / 0.7105 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.5047, allocations: 108.8 kB / 0.7106 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5047, allocations: 29.7 kB / 0.7107 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.5048, allocations: 94.84 kB / 0.7108 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.5048, allocations: 4.609 kB / 0.7108 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.5048, allocations: 1.625 kB / 0.7108 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.5049, allocations: 312.3 kB / 0.7111 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.5049, allocations: 7.375 kB / 0.7111 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.505, allocations: 28.67 kB / 0.7111 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.19e-05/0.505, allocations: 14.98 kB / 0.7111 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.505, allocations: 0 / 0.7111 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.579e-05/0.5051, allocations: 53.25 kB / 0.7112 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5051, allocations: 4.734 kB / 0.7112 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5051, allocations: 1.312 kB / 0.7112 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5051, allocations: 1.25 kB / 0.7112 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.5052, allocations: 11.84 kB / 0.7112 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5052, allocations: 5.281 kB / 0.7112 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.5052, allocations: 1.219 kB / 0.7112 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.5052, allocations: 1.156 kB / 0.7112 GB, free: 1.574 MB / 0.5294 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 6.251e-05/0.5053, allocations: 110 kB / 0.7113 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.5053, allocations: 2.172 kB / 0.7113 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.5054, allocations: 9.484 kB / 0.7113 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5054, allocations: 3.938 kB / 0.7113 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5054, allocations: 3.953 kB / 0.7113 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5054, allocations: 0 / 0.7113 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.5056, allocations: 345.7 kB / 0.7116 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5056, allocations: 0 / 0.7116 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.5057, allocations: 2.219 kB / 0.7117 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5057, allocations: 1.312 kB / 0.7117 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.5057, allocations: 3.953 kB / 0.7117 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5057, allocations: 0 / 0.7117 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5057, allocations: 2.234 kB / 0.7117 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.254e-05/0.5058, allocations: 68.52 kB / 0.7117 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.5058, allocations: 79.33 kB / 0.7118 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5058, allocations: 1.344 kB / 0.7118 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.5059, allocations: 12.5 kB / 0.7118 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-06/0.5059, allocations: 1.906 kB / 0.7118 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.5059, allocations: 0 / 0.7118 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.506, allocations: 87.55 kB / 0.7119 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.506, allocations: 0 / 0.7119 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001822/0.5062, allocations: 10.84 kB / 0.7119 GB, free: 0.8008 MB / 0.5294 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 7.958e-05/0.5063, allocations: 95.7 kB / 0.712 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.732e-05/0.5063, allocations: 14.16 kB / 0.712 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5063, allocations: 0 / 0.712 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.5064, allocations: 3.328 kB / 0.712 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.5065, allocations: 8.578 kB / 0.712 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.5067, allocations: 120.2 kB / 0.7121 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.507, allocations: 0.6835 MB / 0.7128 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.507, allocations: 9.406 kB / 0.7128 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.5071, allocations: 8.625 kB / 0.7128 GB, free: 15.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.5071, allocations: 1.531 kB / 0.7128 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Templates: time 0.00211/0.5092, allocations: 479.7 kB / 0.7133 GB, free: 15.84 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: