Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.00121/0.00121, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8117/0.8117, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.5067 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1602/0.5103, allocations: 148.3 MB / 0.7306 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000143/0.5105, allocations: 55.86 kB / 0.7306 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.5105, allocations: 0 / 0.7306 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.5106, allocations: 3.938 kB / 0.7306 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.5108, allocations: 15.91 kB / 0.7306 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.5115, allocations: 211.2 kB / 0.7308 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.5116, allocations: 35.84 kB / 0.7309 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.5116, allocations: 4 kB / 0.7309 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.5117, allocations: 19.92 kB / 0.7309 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.5117, allocations: 15.92 kB / 0.7309 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.5118, allocations: 0 / 0.7309 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.5122, allocations: 195.4 kB / 0.7311 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.5122, allocations: 4 kB / 0.7311 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.5123, allocations: 15.92 kB / 0.7311 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.5125, allocations: 113.6 kB / 0.7312 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5125, allocations: 0 / 0.7312 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5125, allocations: 4 kB / 0.7312 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.5125, allocations: 0 / 0.7312 GB, free: 5.086 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.0004761/0.513, allocations: 351.2 kB / 0.7315 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.513, allocations: 9.109 kB / 0.7316 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.5134, allocations: 24.91 kB / 0.7316 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.5135, allocations: 164.4 kB / 0.7317 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.5136, allocations: 33.64 kB / 0.7318 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.5136, allocations: 4 kB / 0.7318 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.5137, allocations: 53.61 kB / 0.7318 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5137, allocations: 0 / 0.7318 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5138, allocations: 4 kB / 0.7318 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.5138, allocations: 4 kB / 0.7318 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-05/0.5139, allocations: 19.98 kB / 0.7319 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.5142, allocations: 256.9 kB / 0.7321 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.5143, allocations: 22.58 kB / 0.7321 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.5143, allocations: 16.86 kB / 0.7321 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.5145, allocations: 89.09 kB / 0.7322 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.5145, allocations: 34.56 kB / 0.7323 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.5145, allocations: 0 / 0.7323 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.5148, allocations: 53.59 kB / 0.7323 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5148, allocations: 55.41 kB / 0.7324 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.5149, allocations: 105.8 kB / 0.7325 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5149, allocations: 25.7 kB / 0.7325 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.515, allocations: 91.98 kB / 0.7326 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.515, allocations: 7.891 kB / 0.7326 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.515, allocations: 17.72 kB / 0.7326 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5152, allocations: 319 kB / 0.7329 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.5152, allocations: 11.94 kB / 0.7329 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.5152, allocations: 22.75 kB / 0.7329 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.5153, allocations: 30.56 kB / 0.733 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5153, allocations: 0 / 0.733 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.5154, allocations: 57.62 kB / 0.733 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5154, allocations: 11.94 kB / 0.733 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5154, allocations: 0 / 0.733 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.5154, allocations: 7.875 kB / 0.733 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.5155, allocations: 8 kB / 0.733 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.5155, allocations: 7.922 kB / 0.733 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.5155, allocations: 0 / 0.733 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5156, allocations: 4 kB / 0.7331 GB, free: 2.941 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.351e-05/0.5156, allocations: 113.9 kB / 0.7332 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.5157, allocations: 4 kB / 0.7332 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.5157, allocations: 7.109 kB / 0.7332 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5157, allocations: 0 / 0.7332 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5157, allocations: 3.938 kB / 0.7332 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5157, allocations: 0 / 0.7332 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.5161, allocations: 367.5 kB / 0.7335 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5161, allocations: 4.062 kB / 0.7335 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.5161, allocations: 0 / 0.7335 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5161, allocations: 7.938 kB / 0.7335 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.5161, allocations: 0 / 0.7335 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5161, allocations: 0 / 0.7335 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5161, allocations: 0 / 0.7335 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.177e-05/0.5162, allocations: 81.92 kB / 0.7336 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.5163, allocations: 85.08 kB / 0.7337 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5163, allocations: 0 / 0.7337 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.5164, allocations: 8 kB / 0.7337 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.5164, allocations: 0 / 0.7337 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.5164, allocations: 7.984 kB / 0.7337 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.5165, allocations: 79.28 kB / 0.7338 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5165, allocations: 0 / 0.7338 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001992/0.5167, allocations: 8 kB / 0.7338 GB, free: 2.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001526/0.5168, allocations: 103.2 kB / 0.7339 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.527e-05/0.5169, allocations: 15.92 kB / 0.7339 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5169, allocations: 0 / 0.7339 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.517, allocations: 8 kB / 0.7339 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.5172, allocations: 10.12 kB / 0.7339 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.5175, allocations: 127.6 kB / 0.734 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.5177, allocations: 0.6768 MB / 0.7347 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.5178, allocations: 4 kB / 0.7347 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.5178, allocations: 11.44 kB / 0.7347 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5178, allocations: 7.938 kB / 0.7347 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of Templates: time 0.002771/0.5206, allocations: 0.5673 MB / 0.7353 GB, free: 500 kB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)