Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.002002/0.002002, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7798/0.7798, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 65.44 kB / 0.5684 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 77.93 MB / 0.6445 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5914/0.7466, allocations: 148.3 MB / 0.7893 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001728/0.7468, allocations: 63.34 kB / 0.7894 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.7469, allocations: 0 / 0.7894 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.747, allocations: 1.781 kB / 0.7894 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.7472, allocations: 17.25 kB / 0.7894 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.7482, allocations: 210.9 kB / 0.7896 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.7484, allocations: 36.45 kB / 0.7896 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.7484, allocations: 1.594 kB / 0.7896 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.7485, allocations: 15.36 kB / 0.7896 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.7486, allocations: 13.95 kB / 0.7897 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.7486, allocations: 1.094 kB / 0.7897 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.7491, allocations: 202.7 kB / 0.7899 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.7492, allocations: 9.672 kB / 0.7899 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.7492, allocations: 11.56 kB / 0.7899 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.7495, allocations: 112.4 kB / 0.79 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7495, allocations: 1.062 kB / 0.79 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7495, allocations: 0 / 0.79 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.7495, allocations: 0 / 0.79 GB, free: 13.3 MB / 0.5919 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.0004758/0.75, allocations: 354.1 kB / 0.7903 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7501, allocations: 10.72 kB / 0.7903 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.7504, allocations: 24 kB / 0.7904 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.7506, allocations: 164 kB / 0.7905 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.7506, allocations: 31.8 kB / 0.7905 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.7507, allocations: 2.125 kB / 0.7905 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.7508, allocations: 44.31 kB / 0.7906 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7508, allocations: 4 kB / 0.7906 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.7509, allocations: 1.312 kB / 0.7906 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.7509, allocations: 3.156 kB / 0.7906 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.751, allocations: 27.34 kB / 0.7906 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.7514, allocations: 258.9 kB / 0.7909 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.7515, allocations: 27.22 kB / 0.7909 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.7515, allocations: 11.67 kB / 0.7909 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.7517, allocations: 91.27 kB / 0.791 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.7517, allocations: 32 kB / 0.791 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7517, allocations: 0 / 0.791 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002915/0.752, allocations: 54.45 kB / 0.7911 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.7521, allocations: 56.81 kB / 0.7911 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.7522, allocations: 106.4 kB / 0.7912 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.7522, allocations: 28.83 kB / 0.7913 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.7523, allocations: 94.94 kB / 0.7913 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.7523, allocations: 7.172 kB / 0.7914 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.7523, allocations: 16.97 kB / 0.7914 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7524, allocations: 314.6 kB / 0.7917 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.7525, allocations: 6.062 kB / 0.7917 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.7525, allocations: 25.59 kB / 0.7917 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.7525, allocations: 30.95 kB / 0.7917 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7526, allocations: 0 / 0.7917 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.101e-05/0.7526, allocations: 57.7 kB / 0.7918 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7527, allocations: 9.219 kB / 0.7918 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7527, allocations: 2.828 kB / 0.7918 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7527, allocations: 0 / 0.7918 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.7528, allocations: 5.812 kB / 0.7918 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.7528, allocations: 3.938 kB / 0.7918 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.7528, allocations: 9.453 kB / 0.7918 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.7528, allocations: 1.562 kB / 0.7918 GB, free: 11.47 MB / 0.5919 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 8.093e-05/0.7529, allocations: 113.5 kB / 0.7919 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.753, allocations: 1.219 kB / 0.7919 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.753, allocations: 13.38 kB / 0.7919 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.753, allocations: 0 / 0.7919 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.753, allocations: 0 / 0.7919 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.753, allocations: 10.2 kB / 0.7919 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.7533, allocations: 359 kB / 0.7923 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7534, allocations: 0 / 0.7923 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.7534, allocations: 2.812 kB / 0.7923 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7534, allocations: 8.219 kB / 0.7923 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.7534, allocations: 7.797 kB / 0.7923 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7534, allocations: 0 / 0.7923 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7534, allocations: 1.625 kB / 0.7923 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.352e-05/0.7535, allocations: 68.94 kB / 0.7924 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.7536, allocations: 82.41 kB / 0.7925 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.7536, allocations: 9.281 kB / 0.7925 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.7537, allocations: 8.906 kB / 0.7925 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.7537, allocations: 1.5 kB / 0.7925 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.7537, allocations: 1.25 kB / 0.7925 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.7538, allocations: 85.31 kB / 0.7926 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7538, allocations: 0 / 0.7926 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000188/0.754, allocations: 6.812 kB / 0.7926 GB, free: 10.69 MB / 0.5919 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.0001218/0.7541, allocations: 97.53 kB / 0.7927 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.7542, allocations: 25 kB / 0.7927 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7542, allocations: 0 / 0.7927 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.7542, allocations: 4.125 kB / 0.7927 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.7545, allocations: 12.77 kB / 0.7927 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.7549, allocations: 128.9 kB / 0.7928 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.7553, allocations: 0.6792 MB / 0.7935 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.7553, allocations: 6.422 kB / 0.7935 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.7554, allocations: 8.812 kB / 0.7935 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7554, allocations: 0 / 0.7935 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of Templates: time 0.003577/0.759, allocations: 0.5852 MB / 0.7941 GB, free: 9.695 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)