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.0008228/0.0008231, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 181 kB / 16.92 MB, free: 6.914 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7508/0.7508, allocations: 123 MB / 415.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003713, allocations: 9.312 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4278, allocations: 79.29 MB / 0.5707 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1692/0.5971, allocations: 144.1 MB / 0.7115 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.5972, allocations: 47.84 kB / 0.7115 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.5973, allocations: 4 kB / 0.7115 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.5974, allocations: 4 kB / 0.7116 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.5975, allocations: 15.86 kB / 0.7116 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.5983, allocations: 206.1 kB / 0.7118 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.5984, allocations: 55.83 kB / 0.7118 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.5984, allocations: 0 / 0.7118 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.5985, allocations: 19.97 kB / 0.7118 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.5986, allocations: 4 kB / 0.7118 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.5986, allocations: 11.94 kB / 0.7118 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.599, allocations: 231.3 kB / 0.7121 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.5991, allocations: 7.984 kB / 0.7121 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.5991, allocations: 33.69 kB / 0.7121 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.5994, allocations: 133.6 kB / 0.7122 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5994, allocations: 0 / 0.7122 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5994, allocations: 0 / 0.7122 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.5994, allocations: 0 / 0.7122 GB, free: 11.2 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.0003968/0.5998, allocations: 332.2 kB / 0.7126 GB, free: 10.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5999, allocations: 16.03 kB / 0.7126 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.6002, allocations: 24.81 kB / 0.7126 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.6003, allocations: 168.4 kB / 0.7128 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.6004, allocations: 29.64 kB / 0.7128 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.6004, allocations: 0 / 0.7128 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.6005, allocations: 45.69 kB / 0.7128 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6006, allocations: 7.938 kB / 0.7128 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.6006, allocations: 3.938 kB / 0.7128 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.6006, allocations: 7.984 kB / 0.7128 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.6007, allocations: 23.92 kB / 0.7129 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.6011, allocations: 256.9 kB / 0.7131 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.6011, allocations: 26.58 kB / 0.7131 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.6012, allocations: 8.844 kB / 0.7131 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.6013, allocations: 93.17 kB / 0.7132 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.6014, allocations: 38.55 kB / 0.7133 GB, free: 9.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 3.567e-06/0.6014, allocations: 0 / 0.7133 GB, free: 9.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002409/0.6016, allocations: 53.62 kB / 0.7133 GB, free: 9.895 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.6017, allocations: 51.41 kB / 0.7134 GB, free: 9.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.6018, allocations: 105.8 kB / 0.7135 GB, free: 9.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.6018, allocations: 25.7 kB / 0.7135 GB, free: 9.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.6018, allocations: 96.06 kB / 0.7136 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.6019, allocations: 3.906 kB / 0.7136 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.6019, allocations: 9.719 kB / 0.7136 GB, free: 9.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.602, allocations: 318.8 kB / 0.7139 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.602, allocations: 0 / 0.7139 GB, free: 9.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.6021, allocations: 26.56 kB / 0.7139 GB, free: 9.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.6021, allocations: 34.52 kB / 0.714 GB, free: 9.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6021, allocations: 0 / 0.714 GB, free: 9.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.076e-05/0.6022, allocations: 57.53 kB / 0.714 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6022, allocations: 4 kB / 0.714 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.6022, allocations: 0 / 0.714 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6023, allocations: 8.094 kB / 0.714 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.6023, allocations: 4 kB / 0.714 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6023, allocations: 7.875 kB / 0.714 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.6024, allocations: 11.98 kB / 0.7141 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.6024, allocations: 0 / 0.7141 GB, free: 9.074 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.646e-05/0.6025, allocations: 109.8 kB / 0.7142 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.6025, allocations: 0 / 0.7142 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.6025, allocations: 11.12 kB / 0.7142 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6025, allocations: 0 / 0.7142 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6025, allocations: 7.938 kB / 0.7142 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6025, allocations: 0 / 0.7142 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.6028, allocations: 363.5 kB / 0.7145 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6029, allocations: 0 / 0.7145 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.6029, allocations: 8 kB / 0.7145 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6029, allocations: 3.938 kB / 0.7145 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.6029, allocations: 8 kB / 0.7145 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6029, allocations: 0 / 0.7145 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6029, allocations: 8 kB / 0.7145 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.212e-05/0.603, allocations: 73.83 kB / 0.7146 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.6031, allocations: 85.05 kB / 0.7147 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.6031, allocations: 0 / 0.7147 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.6032, allocations: 7.984 kB / 0.7147 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.6032, allocations: 4.031 kB / 0.7147 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.6032, allocations: 4 kB / 0.7147 GB, free: 8.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.6033, allocations: 83.28 kB / 0.7148 GB, free: 8.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6033, allocations: 0 / 0.7148 GB, free: 8.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000195/0.6035, allocations: 4 kB / 0.7148 GB, free: 8.199 MB / 0.545 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.0001225/0.6036, allocations: 99.66 kB / 0.7149 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.872e-05/0.6037, allocations: 24.06 kB / 0.7149 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6037, allocations: 0 / 0.7149 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.6037, allocations: 4 kB / 0.7149 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6039, allocations: 12.86 kB / 0.7149 GB, free: 8.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.6042, allocations: 133.9 kB / 0.7151 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.6045, allocations: 0.6811 MB / 0.7157 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.6046, allocations: 11.97 kB / 0.7157 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.6046, allocations: 7.438 kB / 0.7157 GB, free: 7.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.345e-06/0.6046, allocations: 0 / 0.7157 GB, free: 7.164 MB / 0.545 GB Notification: Performance of Templates: time 0.002625/0.6072, allocations: 0.5497 MB / 0.7163 GB, free: 6.621 MB / 0.545 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)