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.0009014/0.0009014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006675/0.006675, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 8.844 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.532/0.7378, allocations: 143.7 MB / 0.7283 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001394/0.738, allocations: 53 kB / 0.7284 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.7381, allocations: 0 / 0.7284 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.7382, allocations: 8.453 kB / 0.7284 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.7383, allocations: 14.89 kB / 0.7284 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.7388, allocations: 98.27 kB / 0.7285 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.7389, allocations: 53.81 kB / 0.7285 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.7389, allocations: 1.781 kB / 0.7285 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.739, allocations: 23.02 kB / 0.7285 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.7391, allocations: 10.02 kB / 0.7286 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.7391, allocations: 4 kB / 0.7286 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.7394, allocations: 86.77 kB / 0.7286 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.7394, allocations: 13.17 kB / 0.7287 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.7395, allocations: 36.78 kB / 0.7287 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.7397, allocations: 70.41 kB / 0.7288 GB, free: 3.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7397, allocations: 0 / 0.7288 GB, free: 3.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7397, allocations: 0 / 0.7288 GB, free: 3.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7397, allocations: 1.375 kB / 0.7288 GB, free: 3.387 MB / 0.545 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.0003943/0.7401, allocations: 330.5 kB / 0.7291 GB, free: 3.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7401, allocations: 10.69 kB / 0.7291 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.7404, allocations: 17.39 kB / 0.7291 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.7405, allocations: 165.2 kB / 0.7293 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.7406, allocations: 31.94 kB / 0.7293 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.7406, allocations: 4.75 kB / 0.7293 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.7408, allocations: 49.02 kB / 0.7293 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7408, allocations: 4 kB / 0.7293 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.7408, allocations: 0 / 0.7293 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.7408, allocations: 2.172 kB / 0.7293 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.429e-05/0.7409, allocations: 22.67 kB / 0.7294 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.7413, allocations: 260.9 kB / 0.7296 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.7414, allocations: 22.02 kB / 0.7296 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.7414, allocations: 14.17 kB / 0.7296 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.7414, allocations: 0 / 0.7296 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.7415, allocations: 32.38 kB / 0.7297 GB, free: 2.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.7415, allocations: 0 / 0.7297 GB, free: 2.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.7416, allocations: 36.52 kB / 0.7297 GB, free: 2.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.7417, allocations: 60.44 kB / 0.7298 GB, free: 2.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.7418, allocations: 108.8 kB / 0.7299 GB, free: 2.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.7418, allocations: 29.83 kB / 0.7299 GB, free: 2.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.7419, allocations: 95.23 kB / 0.73 GB, free: 2.051 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.7419, allocations: 5.625 kB / 0.73 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.7419, allocations: 10.91 kB / 0.73 GB, free: 2.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7421, allocations: 317.4 kB / 0.7303 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.7421, allocations: 8.297 kB / 0.7303 GB, free: 1.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.7421, allocations: 20.67 kB / 0.7303 GB, free: 1.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.7422, allocations: 31.55 kB / 0.7304 GB, free: 1.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7422, allocations: 1.312 kB / 0.7304 GB, free: 1.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.371e-05/0.7423, allocations: 53.12 kB / 0.7304 GB, free: 1.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7423, allocations: 7.75 kB / 0.7304 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7423, allocations: 0 / 0.7304 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7423, allocations: 2.219 kB / 0.7304 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.7424, allocations: 14.55 kB / 0.7304 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7424, allocations: 6.641 kB / 0.7305 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.7425, allocations: 5.062 kB / 0.7305 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.7425, allocations: 2.062 kB / 0.7305 GB, free: 1.602 MB / 0.545 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.246e-05/0.7425, allocations: 108.9 kB / 0.7306 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.7426, allocations: 1.844 kB / 0.7306 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.7426, allocations: 5 kB / 0.7306 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7426, allocations: 0.5 kB / 0.7306 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7426, allocations: 5.281 kB / 0.7306 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7426, allocations: 4.797 kB / 0.7306 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.7429, allocations: 348 kB / 0.7309 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.7429, allocations: 4.562 kB / 0.7309 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.7429, allocations: 1.969 kB / 0.7309 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7429, allocations: 3.938 kB / 0.7309 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.7429, allocations: 1.188 kB / 0.7309 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7429, allocations: 0.7031 kB / 0.7309 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7429, allocations: 1.734 kB / 0.7309 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.894e-05/0.743, allocations: 64.53 kB / 0.731 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.7431, allocations: 78.92 kB / 0.7311 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.7431, allocations: 5.797 kB / 0.7311 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.7432, allocations: 12.55 kB / 0.7311 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.7432, allocations: 1.844 kB / 0.7311 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7432, allocations: 1.062 kB / 0.7311 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.7433, allocations: 85.12 kB / 0.7312 GB, free: 0.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7433, allocations: 3.938 kB / 0.7312 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001889/0.7435, allocations: 6.844 kB / 0.7312 GB, free: 0.8281 MB / 0.545 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 0.0001057/0.7436, allocations: 97.08 kB / 0.7313 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.7437, allocations: 17.5 kB / 0.7313 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7437, allocations: 1.406 kB / 0.7313 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.7437, allocations: 1.812 kB / 0.7313 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.7439, allocations: 8.391 kB / 0.7313 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.7442, allocations: 126.2 kB / 0.7314 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.7444, allocations: 0.6766 MB / 0.7321 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.7e-05/0.7445, allocations: 10.17 kB / 0.7321 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.7445, allocations: 12.5 kB / 0.7321 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.7445, allocations: 0 / 0.7321 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.002679/0.7472, allocations: 480.9 kB / 0.7326 GB, free: 15.87 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)