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.00107/0.00107, allocations: 99.05 kB / 16.02 MB, free: 80 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.001329/0.00133, allocations: 183.1 kB / 16.92 MB, free: 6.738 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7099/0.7099, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 14.25 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.416/0.5604, allocations: 144.1 MB / 0.7007 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001182/0.5606, allocations: 52 kB / 0.7008 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.5606, allocations: 3.938 kB / 0.7008 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.5607, allocations: 7.938 kB / 0.7008 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.5608, allocations: 7.969 kB / 0.7008 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.5615, allocations: 204.6 kB / 0.701 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.5616, allocations: 59.88 kB / 0.701 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.915e-05/0.5616, allocations: 0 / 0.701 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.5617, allocations: 11.98 kB / 0.701 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.5618, allocations: 27.84 kB / 0.7011 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.5618, allocations: 4 kB / 0.7011 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.5622, allocations: 223.3 kB / 0.7013 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.5622, allocations: 3.984 kB / 0.7013 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.5623, allocations: 37.7 kB / 0.7013 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.5625, allocations: 121.7 kB / 0.7014 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5625, allocations: 3.984 kB / 0.7014 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5625, allocations: 8 kB / 0.7015 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5625, allocations: 0 / 0.7015 GB, free: 5.926 MB / 0.5137 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.0003435/0.5629, allocations: 331.5 kB / 0.7018 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5629, allocations: 16.02 kB / 0.7018 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.5632, allocations: 17.55 kB / 0.7018 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5634, allocations: 172.5 kB / 0.702 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.5634, allocations: 29.64 kB / 0.702 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5635, allocations: 0 / 0.702 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5636, allocations: 61.56 kB / 0.7021 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5636, allocations: 0 / 0.7021 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5636, allocations: 0 / 0.7021 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.5636, allocations: 7.984 kB / 0.7021 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.5637, allocations: 17.03 kB / 0.7021 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.564, allocations: 260.9 kB / 0.7023 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.5641, allocations: 22.58 kB / 0.7023 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.5641, allocations: 12.91 kB / 0.7024 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.5643, allocations: 97.09 kB / 0.7025 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.5643, allocations: 34.5 kB / 0.7025 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5643, allocations: 0 / 0.7025 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002313/0.5646, allocations: 49.78 kB / 0.7025 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.5646, allocations: 55.41 kB / 0.7026 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.5647, allocations: 101.8 kB / 0.7027 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.5647, allocations: 25.7 kB / 0.7027 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.5648, allocations: 99.91 kB / 0.7028 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.5648, allocations: 3.906 kB / 0.7028 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.5648, allocations: 9.719 kB / 0.7028 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5649, allocations: 314.8 kB / 0.7031 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.565, allocations: 8.031 kB / 0.7031 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.565, allocations: 30.5 kB / 0.7032 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.565, allocations: 26.58 kB / 0.7032 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.565, allocations: 0 / 0.7032 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.125e-05/0.5651, allocations: 61.62 kB / 0.7032 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5651, allocations: 4 kB / 0.7032 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5652, allocations: 0 / 0.7032 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5652, allocations: 4 kB / 0.7032 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.5652, allocations: 7.938 kB / 0.7033 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5652, allocations: 3.984 kB / 0.7033 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.5653, allocations: 7.938 kB / 0.7033 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.5653, allocations: 288 / 0.7033 GB, free: 3.809 MB / 0.5137 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.53e-05/0.5654, allocations: 109.9 kB / 0.7034 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.5654, allocations: 7.906 kB / 0.7034 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.5654, allocations: 11.11 kB / 0.7034 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5654, allocations: 4 kB / 0.7034 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5654, allocations: 3.938 kB / 0.7034 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5654, allocations: 3.938 kB / 0.7034 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.5657, allocations: 359.6 kB / 0.7037 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5657, allocations: 0 / 0.7037 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.5658, allocations: 8.938 kB / 0.7037 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5658, allocations: 3.938 kB / 0.7038 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.5658, allocations: 0 / 0.7038 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.5658, allocations: 4 kB / 0.7038 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5658, allocations: 0 / 0.7038 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.492e-05/0.5659, allocations: 69.92 kB / 0.7038 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.5659, allocations: 85.05 kB / 0.7039 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.566, allocations: 10.75 kB / 0.7039 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.5661, allocations: 7.984 kB / 0.7039 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.5661, allocations: 0 / 0.7039 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.5661, allocations: 0 / 0.7039 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.5661, allocations: 83.28 kB / 0.704 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5661, allocations: 0 / 0.704 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001998/0.5663, allocations: 8 kB / 0.704 GB, free: 2.938 MB / 0.5137 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.0001162/0.5665, allocations: 104.7 kB / 0.7041 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.5665, allocations: 19.94 kB / 0.7041 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5665, allocations: 0 / 0.7041 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.5666, allocations: 7.938 kB / 0.7041 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.5668, allocations: 7.938 kB / 0.7041 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.567, allocations: 138.2 kB / 0.7043 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.5673, allocations: 0.6731 MB / 0.7049 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.735e-05/0.5673, allocations: 7.984 kB / 0.7049 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.5674, allocations: 15.38 kB / 0.705 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.5674, allocations: 4 kB / 0.705 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of Templates: time 0.002475/0.5699, allocations: 0.5455 MB / 0.7055 GB, free: 1.359 MB / 0.5137 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)