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.001748/0.001748, allocations: 104 kB / 16.94 MB, free: 6.191 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.001964/0.001964, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.415/1.415, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8329/0.8329, allocations: 125.4 MB / 417.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.88 kB / 0.4948 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 78.56 MB / 0.5715 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1749/0.5159, allocations: 148.3 MB / 0.7163 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.5161, allocations: 59.86 kB / 0.7163 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.5162, allocations: 0 / 0.7163 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.5164, allocations: 7.922 kB / 0.7163 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.5164, allocations: 7.938 kB / 0.7164 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.5173, allocations: 213.8 kB / 0.7166 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.693e-05/0.5174, allocations: 35.91 kB / 0.7166 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.5175, allocations: 3.984 kB / 0.7166 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.5175, allocations: 19.92 kB / 0.7166 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.5176, allocations: 11.98 kB / 0.7166 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.5176, allocations: 0 / 0.7166 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.5181, allocations: 199.4 kB / 0.7168 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.5181, allocations: 7.922 kB / 0.7168 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.5182, allocations: 8 kB / 0.7168 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.5184, allocations: 113.8 kB / 0.7169 GB, free: 2.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5185, allocations: 0 / 0.7169 GB, free: 2.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5185, allocations: 0 / 0.7169 GB, free: 2.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5185, allocations: 4 kB / 0.7169 GB, free: 2.113 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.0004602/0.5189, allocations: 347.4 kB / 0.7173 GB, free: 1.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.519, allocations: 8.031 kB / 0.7173 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.5193, allocations: 28.91 kB / 0.7173 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.5195, allocations: 160.4 kB / 0.7175 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.5196, allocations: 33.64 kB / 0.7175 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.5196, allocations: 3.938 kB / 0.7175 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.5197, allocations: 49.69 kB / 0.7175 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5197, allocations: 3.984 kB / 0.7176 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5198, allocations: 7.922 kB / 0.7176 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.5198, allocations: 11.92 kB / 0.7176 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.5198, allocations: 19.98 kB / 0.7176 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.5202, allocations: 256.9 kB / 0.7178 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.5203, allocations: 30.55 kB / 0.7179 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.5204, allocations: 12.92 kB / 0.7179 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.5205, allocations: 89.09 kB / 0.718 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.5206, allocations: 34.56 kB / 0.718 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.5206, allocations: 0 / 0.718 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.5208, allocations: 53.69 kB / 0.718 GB, free: 0.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.5209, allocations: 51.41 kB / 0.7181 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.521, allocations: 113.7 kB / 0.7182 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.521, allocations: 25.7 kB / 0.7182 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.5211, allocations: 87.98 kB / 0.7183 GB, free: 500 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.5211, allocations: 7.906 kB / 0.7183 GB, free: 492 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5211, allocations: 17.72 kB / 0.7183 GB, free: 468 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5213, allocations: 314.9 kB / 0.7186 GB, free: 144 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.5213, allocations: 11.98 kB / 0.7186 GB, free: 132 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.5213, allocations: 18.58 kB / 0.7187 GB, free: 104 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.5214, allocations: 30.52 kB / 0.7187 GB, free: 64 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5214, allocations: 0 / 0.7187 GB, free: 64 kB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.89e-05/0.5215, allocations: 57.62 kB / 0.7188 GB, free: 0 / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.5215, allocations: 6.078 kB / 0.7188 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5215, allocations: 4 kB / 0.7188 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5216, allocations: 0 / 0.7188 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.5216, allocations: 7.938 kB / 0.7188 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.5216, allocations: 7.938 kB / 0.7188 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.5217, allocations: 0 / 0.7188 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.5217, allocations: 4 kB / 0.7188 GB, free: 15.97 MB / 0.5606 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 9.102e-05/0.5218, allocations: 113.9 kB / 0.7189 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.5218, allocations: 0 / 0.7189 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.5218, allocations: 12.2 kB / 0.7189 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5219, allocations: 0 / 0.7189 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5219, allocations: 3.938 kB / 0.7189 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5219, allocations: 3.984 kB / 0.7189 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.5222, allocations: 355.5 kB / 0.7192 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5222, allocations: 7.938 kB / 0.7193 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.5223, allocations: 4.062 kB / 0.7193 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.5223, allocations: 7.922 kB / 0.7193 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.5223, allocations: 4 kB / 0.7193 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5223, allocations: 0 / 0.7193 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5223, allocations: 3.938 kB / 0.7193 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.5224, allocations: 77.94 kB / 0.7193 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.5225, allocations: 85.08 kB / 0.7194 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.5225, allocations: 3.984 kB / 0.7194 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.5226, allocations: 4 kB / 0.7194 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.5226, allocations: 0 / 0.7194 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5226, allocations: 4 kB / 0.7194 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.5227, allocations: 87.53 kB / 0.7195 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5227, allocations: 0 / 0.7195 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001978/0.5229, allocations: 12 kB / 0.7195 GB, free: 15.09 MB / 0.5606 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.0001436/0.523, allocations: 99.25 kB / 0.7196 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/0.5231, allocations: 15.94 kB / 0.7196 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5231, allocations: 0 / 0.7196 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.797e-05/0.5232, allocations: 15.92 kB / 0.7197 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.5234, allocations: 9.828 kB / 0.7197 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.5237, allocations: 157.3 kB / 0.7198 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.5241, allocations: 0.6768 MB / 0.7205 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.5241, allocations: 7.438 kB / 0.7205 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.5241, allocations: 0 / 0.7205 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.002216/0.5263, allocations: 0.6162 MB / 0.7211 GB, free: 13.43 MB / 0.5606 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)