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.00106/0.00106, allocations: 106 kB / 15.98 MB, free: 5.871 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.001223/0.001223, allocations: 187.7 kB / 16.91 MB, free: 5.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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 122.9 MB / 413.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.95 kB / 0.4906 GB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 77.93 MB / 0.5667 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4563/0.614, allocations: 146.2 MB / 0.7094 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001611/0.6142, allocations: 55.59 kB / 0.7095 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.6142, allocations: 0 / 0.7095 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.6144, allocations: 0 / 0.7095 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.6145, allocations: 19.91 kB / 0.7095 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.6154, allocations: 198.8 kB / 0.7097 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.731e-05/0.6155, allocations: 39.84 kB / 0.7097 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.6155, allocations: 6.234 kB / 0.7097 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.6156, allocations: 15.92 kB / 0.7097 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.6157, allocations: 11.98 kB / 0.7098 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.6157, allocations: 4 kB / 0.7098 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.6161, allocations: 199.4 kB / 0.71 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.6162, allocations: 4 kB / 0.71 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.6163, allocations: 23.91 kB / 0.71 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.6166, allocations: 129.6 kB / 0.7101 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6166, allocations: 0 / 0.7101 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6166, allocations: 0 / 0.7101 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.6166, allocations: 4 kB / 0.7101 GB, free: 5.137 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.0004324/0.617, allocations: 340 kB / 0.7104 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6171, allocations: 12.03 kB / 0.7104 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.6175, allocations: 24.91 kB / 0.7105 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.6176, allocations: 160.6 kB / 0.7106 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.6177, allocations: 37.64 kB / 0.7107 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.6177, allocations: 0 / 0.7107 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.6179, allocations: 49.67 kB / 0.7107 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6179, allocations: 0 / 0.7107 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6179, allocations: 0 / 0.7107 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.6179, allocations: 4 kB / 0.7107 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.618, allocations: 23.92 kB / 0.7107 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.6184, allocations: 260.9 kB / 0.711 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.6185, allocations: 18.58 kB / 0.711 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.6185, allocations: 16.86 kB / 0.711 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.6187, allocations: 89.09 kB / 0.7111 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6187, allocations: 34.56 kB / 0.7111 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6187, allocations: 4 kB / 0.7111 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002747/0.619, allocations: 53.53 kB / 0.7112 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.6191, allocations: 51.41 kB / 0.7112 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.6191, allocations: 109.8 kB / 0.7113 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.6192, allocations: 25.7 kB / 0.7114 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.6192, allocations: 88.02 kB / 0.7114 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-06/0.6193, allocations: 11.91 kB / 0.7115 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.6193, allocations: 21.83 kB / 0.7115 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6194, allocations: 314.8 kB / 0.7118 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.6195, allocations: 4 kB / 0.7118 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.126e-05/0.6195, allocations: 22.56 kB / 0.7118 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.6196, allocations: 35.39 kB / 0.7118 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6196, allocations: 0 / 0.7118 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.753e-05/0.6197, allocations: 57.53 kB / 0.7119 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6197, allocations: 10.03 kB / 0.7119 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6197, allocations: 0 / 0.7119 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6197, allocations: 0 / 0.7119 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.015e-05/0.6198, allocations: 4 kB / 0.7119 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6198, allocations: 4 kB / 0.7119 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.6198, allocations: 12.69 kB / 0.7119 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6199, allocations: 4.094 kB / 0.7119 GB, free: 3.012 MB / 0.5294 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.651e-05/0.62, allocations: 109.8 kB / 0.712 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.62, allocations: 7.984 kB / 0.712 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.62, allocations: 7.125 kB / 0.712 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.62, allocations: 0 / 0.712 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.62, allocations: 0 / 0.712 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.62, allocations: 4.219 kB / 0.712 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.6204, allocations: 367.1 kB / 0.7124 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6204, allocations: 4 kB / 0.7124 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.6204, allocations: 0 / 0.7124 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6204, allocations: 7.938 kB / 0.7124 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6204, allocations: 7.984 kB / 0.7124 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6204, allocations: 0 / 0.7124 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6204, allocations: 0 / 0.7124 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.257e-05/0.6205, allocations: 81.89 kB / 0.7125 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.6206, allocations: 77.11 kB / 0.7126 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.6206, allocations: 3.938 kB / 0.7126 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.6207, allocations: 4 kB / 0.7126 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.6207, allocations: 3.984 kB / 0.7126 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.6207, allocations: 7.938 kB / 0.7126 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.6208, allocations: 83.28 kB / 0.7127 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6208, allocations: 3.938 kB / 0.7127 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001949/0.621, allocations: 8.031 kB / 0.7127 GB, free: 2.133 MB / 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 (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.0001193/0.6211, allocations: 99.8 kB / 0.7128 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.6212, allocations: 19.92 kB / 0.7128 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6212, allocations: 0 / 0.7128 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.6212, allocations: 4 kB / 0.7128 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.6215, allocations: 8.25 kB / 0.7128 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.6218, allocations: 129.5 kB / 0.7129 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.622, allocations: 0.6805 MB / 0.7136 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.127e-05/0.6221, allocations: 8 kB / 0.7136 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.6221, allocations: 7.438 kB / 0.7136 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.6221, allocations: 0 / 0.7136 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of Templates: time 0.002657/0.6248, allocations: 0.5676 MB / 0.7142 GB, free: 0.5508 MB / 0.5294 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)