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.0008416/0.0008414, allocations: 100.5 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.0009208/0.0009209, 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.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003164, allocations: 8.531 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3924/0.5484, allocations: 125.2 MB / 0.7095 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000239/0.5487, allocations: 128.5 kB / 0.7096 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.5487, allocations: 0 / 0.7096 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.5489, allocations: 2.078 kB / 0.7096 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.5489, allocations: 10.66 kB / 0.7096 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.5496, allocations: 154.1 kB / 0.7098 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.5496, allocations: 17.84 kB / 0.7098 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.5497, allocations: 1.734 kB / 0.7098 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.5497, allocations: 20.17 kB / 0.7098 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.5498, allocations: 6.234 kB / 0.7098 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.5498, allocations: 5.094 kB / 0.7098 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.5502, allocations: 107 kB / 0.7099 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.5503, allocations: 9.438 kB / 0.7099 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.5503, allocations: 28.33 kB / 0.71 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.5505, allocations: 46.75 kB / 0.71 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5505, allocations: 0 / 0.71 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5505, allocations: 5.5 kB / 0.71 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5505, allocations: 0 / 0.71 GB, free: 2.887 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.0004194/0.5509, allocations: 341 kB / 0.7103 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.551, allocations: 12.41 kB / 0.7103 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.5513, allocations: 25.06 kB / 0.7104 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.5514, allocations: 167.2 kB / 0.7105 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.5515, allocations: 32.69 kB / 0.7106 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.5515, allocations: 6.984 kB / 0.7106 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5517, allocations: 53.11 kB / 0.7106 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.5517, allocations: 0 / 0.7106 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5517, allocations: 4 kB / 0.7106 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.5517, allocations: 3.25 kB / 0.7106 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.5518, allocations: 21.03 kB / 0.7106 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.5521, allocations: 254.5 kB / 0.7109 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.001e-05/0.5522, allocations: 25.59 kB / 0.7109 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.5522, allocations: 3.031 kB / 0.7109 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5523, allocations: 41.17 kB / 0.7109 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5523, allocations: 0 / 0.7109 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000238/0.5525, allocations: 59 kB / 0.711 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5526, allocations: 59.34 kB / 0.7111 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.5526, allocations: 98.88 kB / 0.7112 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5527, allocations: 25.7 kB / 0.7112 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.5527, allocations: 94.48 kB / 0.7113 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.5527, allocations: 5.922 kB / 0.7113 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.5527, allocations: 0 / 0.7113 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.5528, allocations: 314.6 kB / 0.7116 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.5529, allocations: 9.156 kB / 0.7116 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.5529, allocations: 18.3 kB / 0.7116 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.553, allocations: 10.52 kB / 0.7116 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.553, allocations: 0 / 0.7116 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.982e-05/0.5531, allocations: 63.12 kB / 0.7117 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5531, allocations: 8.406 kB / 0.7117 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5531, allocations: 1.688 kB / 0.7117 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.5531, allocations: 0 / 0.7117 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.5532, allocations: 8.078 kB / 0.7117 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5532, allocations: 3.953 kB / 0.7117 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.5532, allocations: 1.625 kB / 0.7117 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5532, allocations: 3.016 kB / 0.7117 GB, free: 1.168 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.963e-05/0.5533, allocations: 112.5 kB / 0.7118 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.5533, allocations: 5.594 kB / 0.7118 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.5534, allocations: 9.781 kB / 0.7118 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.5534, allocations: 1.125 kB / 0.7118 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5534, allocations: 0 / 0.7118 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5534, allocations: 7.828 kB / 0.7118 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.5537, allocations: 361.4 kB / 0.7122 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5537, allocations: 1.922 kB / 0.7122 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.5538, allocations: 6.516 kB / 0.7122 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5538, allocations: 1.562 kB / 0.7122 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5538, allocations: 5.422 kB / 0.7122 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5538, allocations: 4.547 kB / 0.7122 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5538, allocations: 1.25 kB / 0.7122 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.5539, allocations: 91.03 kB / 0.7123 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.554, allocations: 83.88 kB / 0.7124 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.554, allocations: 5.797 kB / 0.7124 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.5541, allocations: 6.531 kB / 0.7124 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.5541, allocations: 1.094 kB / 0.7124 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.5541, allocations: 1.859 kB / 0.7124 GB, free: 440 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.5541, allocations: 83.92 kB / 0.7125 GB, free: 360 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5541, allocations: 0 / 0.7125 GB, free: 360 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001835/0.5543, allocations: 6.375 kB / 0.7125 GB, free: 360 kB / 0.5294 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 (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 0.0001159/0.5545, allocations: 106.2 kB / 0.7126 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.17e-05/0.5545, allocations: 21.11 kB / 0.7126 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5546, allocations: 1.312 kB / 0.7126 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.5546, allocations: 5.219 kB / 0.7126 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.5547, allocations: 8.281 kB / 0.7126 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.555, allocations: 139.7 kB / 0.7127 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.5553, allocations: 0.6793 MB / 0.7134 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.5553, allocations: 11.44 kB / 0.7134 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.5554, allocations: 8.812 kB / 0.7134 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5554, allocations: 0 / 0.7134 GB, free: 15.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002621/0.558, allocations: 0.5356 MB / 0.7139 GB, free: 15.35 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: