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.001242/0.001242, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.0013/0.0013, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.212/1.212, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6692/0.6692, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.36 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1078, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4082/0.5161, allocations: 148.3 MB / 0.7775 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.5162, allocations: 58.91 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.5162, allocations: 1.031 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.123e-05/0.5163, allocations: 3.938 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.5164, allocations: 12.06 kB / 0.7776 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.517, allocations: 211.8 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.5171, allocations: 37.72 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 2.957e-05/0.5172, allocations: 2.031 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.5172, allocations: 17.88 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.5173, allocations: 12.09 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.5173, allocations: 1.25 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.5177, allocations: 203.4 kB / 0.778 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.5177, allocations: 6.406 kB / 0.778 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.5177, allocations: 16.97 kB / 0.7781 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.518, allocations: 110.9 kB / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.518, allocations: 0 / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.518, allocations: 0.5 kB / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.518, allocations: 0 / 0.7782 GB, free: 14.34 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.0003531/0.5184, allocations: 339.6 kB / 0.7785 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5184, allocations: 9.125 kB / 0.7785 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.5187, allocations: 29.27 kB / 0.7785 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.5188, allocations: 172.1 kB / 0.7787 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.5189, allocations: 31.2 kB / 0.7787 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.5189, allocations: 1.5 kB / 0.7787 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.519, allocations: 48.08 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.519, allocations: 0 / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.519, allocations: 1.688 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.5191, allocations: 2.156 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.5191, allocations: 20.94 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.5194, allocations: 259.8 kB / 0.779 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.439e-05/0.5195, allocations: 27.67 kB / 0.7791 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.5195, allocations: 7.016 kB / 0.7791 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.5197, allocations: 97.94 kB / 0.7792 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5197, allocations: 36.06 kB / 0.7792 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.5197, allocations: 0 / 0.7792 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002172/0.5199, allocations: 53.64 kB / 0.7792 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.52, allocations: 51.41 kB / 0.7793 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.52, allocations: 101.5 kB / 0.7794 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5201, allocations: 26.39 kB / 0.7794 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.5201, allocations: 95.19 kB / 0.7795 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.5201, allocations: 5.094 kB / 0.7795 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.5201, allocations: 20.66 kB / 0.7795 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.5202, allocations: 318.3 kB / 0.7798 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.5203, allocations: 3.188 kB / 0.7798 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.5203, allocations: 24.83 kB / 0.7799 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.5204, allocations: 36.69 kB / 0.7799 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5204, allocations: 1.766 kB / 0.7799 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.484e-05/0.5205, allocations: 55.84 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5205, allocations: 5.125 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5205, allocations: 1.125 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5205, allocations: 1.125 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.5206, allocations: 7.828 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5206, allocations: 6.75 kB / 0.78 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.5206, allocations: 9.656 kB / 0.78 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.5206, allocations: 1.594 kB / 0.78 GB, free: 12.52 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 6.176e-05/0.5207, allocations: 112.5 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.5207, allocations: 3.594 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.5207, allocations: 8.281 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5207, allocations: 0.5 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5208, allocations: 0.625 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5208, allocations: 81.95 kB / 0.7802 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.5208, allocations: 3.125 kB / 0.7802 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5209, allocations: 9.75 kB / 0.7802 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.5209, allocations: 7.688 kB / 0.7802 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.843e-05/0.521, allocations: 110.7 kB / 0.7803 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001144/0.5212, allocations: 214.1 kB / 0.7805 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.867e-05/0.5212, allocations: 8.406 kB / 0.7805 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.5212, allocations: 89.95 kB / 0.7806 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of Backend: time 2.01e-07/0.5212, allocations: 0.625 kB / 0.7806 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.5216, allocations: 124.2 kB / 0.7807 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0003805/0.522, allocations: 0.5598 MB / 0.7813 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.00287/0.5249, allocations: 1.029 MB / 0.7823 GB, free: 11.11 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)