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.00126/0.00126, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001273/0.001273, allocations: 195.6 kB / 16.91 MB, free: 6.195 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: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8168/0.8168, allocations: 135.1 MB / 425.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 55.91 kB / 0.5055 GB, free: 8.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4443, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1479/0.5923, allocations: 145.7 MB / 0.7268 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.5925, allocations: 51.8 kB / 0.7269 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.5925, allocations: 4 kB / 0.7269 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.5927, allocations: 0 / 0.7269 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.5928, allocations: 7.922 kB / 0.7269 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.5934, allocations: 99.73 kB / 0.727 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.5935, allocations: 35.84 kB / 0.727 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.5935, allocations: 3.984 kB / 0.727 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.5936, allocations: 23.92 kB / 0.7271 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.5936, allocations: 7.984 kB / 0.7271 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.5937, allocations: 4 kB / 0.7271 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.5939, allocations: 83.72 kB / 0.7272 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.594, allocations: 11.98 kB / 0.7272 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.594, allocations: 7.938 kB / 0.7272 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.5942, allocations: 57.84 kB / 0.7272 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5942, allocations: 0 / 0.7272 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5942, allocations: 0 / 0.7272 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.5942, allocations: 0 / 0.7272 GB, free: 8.137 MB / 0.5606 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.0004321/0.5946, allocations: 339.4 kB / 0.7276 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5947, allocations: 13.11 kB / 0.7276 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.5949, allocations: 20.92 kB / 0.7276 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5951, allocations: 160.4 kB / 0.7277 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.5951, allocations: 33.64 kB / 0.7278 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.5951, allocations: 0 / 0.7278 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.5953, allocations: 49.67 kB / 0.7278 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.5953, allocations: 3.938 kB / 0.7278 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5953, allocations: 7.969 kB / 0.7278 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.5954, allocations: 4 kB / 0.7278 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.5954, allocations: 23.92 kB / 0.7279 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.5958, allocations: 260.8 kB / 0.7281 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.5958, allocations: 14.58 kB / 0.7281 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.5959, allocations: 8.922 kB / 0.7281 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.5959, allocations: 4 kB / 0.7281 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.5959, allocations: 34.5 kB / 0.7282 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5959, allocations: 0 / 0.7282 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.5961, allocations: 41.69 kB / 0.7282 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.5961, allocations: 55.34 kB / 0.7283 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.5962, allocations: 105.8 kB / 0.7284 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5962, allocations: 25.7 kB / 0.7284 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.5962, allocations: 88.11 kB / 0.7285 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.5963, allocations: 7.906 kB / 0.7285 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.5963, allocations: 17.72 kB / 0.7285 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.5964, allocations: 318.8 kB / 0.7288 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.5964, allocations: 4 kB / 0.7288 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.5965, allocations: 26.52 kB / 0.7288 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.5965, allocations: 34.81 kB / 0.7289 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5965, allocations: 0 / 0.7289 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.902e-05/0.5966, allocations: 53.64 kB / 0.7289 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5966, allocations: 4 kB / 0.7289 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.5966, allocations: 3.984 kB / 0.7289 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5966, allocations: 4 kB / 0.7289 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.5967, allocations: 7.938 kB / 0.7289 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5967, allocations: 7.922 kB / 0.7289 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.5968, allocations: 8.094 kB / 0.7289 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.5968, allocations: 0 / 0.7289 GB, free: 6.137 MB / 0.5606 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.179e-05/0.5969, allocations: 117.8 kB / 0.7291 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.5969, allocations: 7.844 kB / 0.7291 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.5969, allocations: 3.125 kB / 0.7291 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5969, allocations: 7.984 kB / 0.7291 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5969, allocations: 3.938 kB / 0.7291 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5969, allocations: 0 / 0.7291 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5972, allocations: 346.7 kB / 0.7294 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5972, allocations: 3.938 kB / 0.7294 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.5972, allocations: 0 / 0.7294 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.5972, allocations: 3.938 kB / 0.7294 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5973, allocations: 0 / 0.7294 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5973, allocations: 4 kB / 0.7294 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5973, allocations: 0 / 0.7294 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.576e-05/0.5973, allocations: 61.16 kB / 0.7295 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.5974, allocations: 85.05 kB / 0.7296 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.5974, allocations: 0 / 0.7296 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.5975, allocations: 3.984 kB / 0.7296 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.5975, allocations: 4 kB / 0.7296 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.5975, allocations: 0 / 0.7296 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.5976, allocations: 83.28 kB / 0.7296 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5976, allocations: 0 / 0.7296 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001912/0.5978, allocations: 8 kB / 0.7297 GB, free: 5.305 MB / 0.5606 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.786e-05/0.5979, allocations: 107.2 kB / 0.7298 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.598, allocations: 12 kB / 0.7298 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.598, allocations: 0 / 0.7298 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-06/0.598, allocations: 4 kB / 0.7298 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.5982, allocations: 6.766 kB / 0.7298 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.5984, allocations: 156.3 kB / 0.7299 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.5987, allocations: 0.6768 MB / 0.7306 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.5987, allocations: 7.438 kB / 0.7306 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.5987, allocations: 0 / 0.7306 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of Templates: time 0.001771/0.6005, allocations: 0.5648 MB / 0.7311 GB, free: 3.715 MB / 0.5606 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)