Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009971/0.0009972, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7389/0.7389, allocations: 130.7 MB / 138.7 MB, free: 3.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.5 MB / 391.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009012, allocations: 92.7 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.466e-05, allocations: 8 kB / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5021, allocations: 81.57 MB / 0.6281 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.985/5.488, allocations: 1.673 GB / 2.301 GB, free: 186.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/5.488, allocations: 75.11 kB / 2.301 GB, free: 186.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07555/5.563, allocations: 36.69 MB / 2.337 GB, free: 182.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.663e-06/5.564, allocations: 0 / 2.337 GB, free: 182.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.321e-06/5.564, allocations: 3.938 kB / 2.337 GB, free: 182.2 MB / 0.6667 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.0003285/5.564, allocations: 341.6 kB / 2.338 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/5.564, allocations: 15.66 kB / 2.338 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/5.564, allocations: 23.27 kB / 2.338 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/5.564, allocations: 163 kB / 2.338 GB, free: 181.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/5.564, allocations: 33.64 kB / 2.338 GB, free: 181.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/5.564, allocations: 0 / 2.338 GB, free: 181.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.567e-05/5.564, allocations: 14.81 kB / 2.338 GB, free: 181.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.299e-05/5.565, allocations: 48.34 kB / 2.338 GB, free: 181.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/5.565, allocations: 3.953 kB / 2.338 GB, free: 181.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/5.565, allocations: 3.984 kB / 2.338 GB, free: 181.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/5.565, allocations: 11.84 kB / 2.338 GB, free: 181.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/5.565, allocations: 328.7 kB / 2.338 GB, free: 181.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.183e-05/5.565, allocations: 14.58 kB / 2.338 GB, free: 181.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/5.565, allocations: 8.797 kB / 2.338 GB, free: 181.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/5.565, allocations: 0 / 2.338 GB, free: 181.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/5.565, allocations: 34.52 kB / 2.338 GB, free: 181.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/5.565, allocations: 0 / 2.338 GB, free: 181.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001783/5.565, allocations: 48.88 kB / 2.338 GB, free: 181.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/5.565, allocations: 51.41 kB / 2.338 GB, free: 181 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/5.566, allocations: 100.5 kB / 2.338 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/5.566, allocations: 25.7 kB / 2.338 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/5.566, allocations: 87.95 kB / 2.339 GB, free: 180.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/5.566, allocations: 7.844 kB / 2.339 GB, free: 180.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/5.566, allocations: 0 / 2.339 GB, free: 180.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.623e-05/5.566, allocations: 318.3 kB / 2.339 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/5.566, allocations: 3.906 kB / 2.339 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/5.566, allocations: 22.31 kB / 2.339 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/5.566, allocations: 7.906 kB / 2.339 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/5.566, allocations: 0 / 2.339 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.245e-05/5.566, allocations: 53.09 kB / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/5.566, allocations: 3.906 kB / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/5.566, allocations: 0 / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/5.566, allocations: 7.859 kB / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/5.566, allocations: 3.906 kB / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/5.566, allocations: 3.984 kB / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/5.566, allocations: 15.7 kB / 2.339 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/5.566, allocations: 0 / 2.339 GB, free: 180.4 MB / 0.6667 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 () * 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 5.757e-05/5.566, allocations: 110.5 kB / 2.339 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/5.566, allocations: 7.438 kB / 2.339 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/5.566, allocations: 3.75 kB / 2.339 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/5.566, allocations: 3.953 kB / 2.339 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/5.566, allocations: 3.938 kB / 2.339 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/5.566, allocations: 3.906 kB / 2.339 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/5.566, allocations: 315 kB / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/5.566, allocations: 3.906 kB / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/5.566, allocations: 3.797 kB / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/5.566, allocations: 32 / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/5.566, allocations: 7.953 kB / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/5.566, allocations: 0 / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/5.566, allocations: 0 / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.164e-05/5.566, allocations: 60.45 kB / 2.339 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/5.566, allocations: 81.02 kB / 2.34 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/5.566, allocations: 3.797 kB / 2.34 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/5.567, allocations: 11.95 kB / 2.34 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/5.567, allocations: 256 / 2.34 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/5.567, allocations: 3.938 kB / 2.34 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 2.648e-05/5.567, allocations: 83.19 kB / 2.34 GB, free: 179.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/5.567, allocations: 0 / 2.34 GB, free: 179.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002928/5.567, allocations: 34.08 kB / 2.34 GB, free: 179.7 MB / 0.6667 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 () * 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 0.0007222/5.568, allocations: 0.6305 MB / 2.34 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.069e-05/5.568, allocations: 15.64 kB / 2.34 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/5.568, allocations: 0 / 2.34 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/5.568, allocations: 4.094 kB / 2.34 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/5.568, allocations: 13.41 kB / 2.34 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/5.568, allocations: 56.17 kB / 2.34 GB, free: 179.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/5.568, allocations: 0.6766 MB / 2.341 GB, free: 178.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 5.639e-05/5.568, allocations: 3.906 kB / 2.341 GB, free: 178.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/5.568, allocations: 7.438 kB / 2.341 GB, free: 178.6 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/5.568, allocations: 4 kB / 2.341 GB, free: 178.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.006124/5.575, allocations: 3.645 MB / 2.345 GB, free: 178 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)