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.001238/0.001238, allocations: 115.4 kB / 17.08 MB, free: 6.008 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.001193/0.001193, allocations: 196.7 kB / 18.02 MB, free: 5.086 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 60.7 kB / 0.5583 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 76.18 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4899/0.6164, allocations: 148.3 MB / 0.7775 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001462/0.6166, allocations: 56.73 kB / 0.7775 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.6166, allocations: 1.281 kB / 0.7775 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.6168, allocations: 2.531 kB / 0.7776 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.6169, allocations: 10.67 kB / 0.7776 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.6177, allocations: 215.2 kB / 0.7778 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.6178, allocations: 39.53 kB / 0.7778 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.6178, allocations: 2.375 kB / 0.7778 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.6179, allocations: 14.69 kB / 0.7778 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.6179, allocations: 16.7 kB / 0.7778 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.618, allocations: 1.25 kB / 0.7778 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.6184, allocations: 196.6 kB / 0.778 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.6185, allocations: 10.78 kB / 0.778 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.6185, allocations: 9.188 kB / 0.778 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.6188, allocations: 118.8 kB / 0.7782 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6188, allocations: 4.625 kB / 0.7782 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6188, allocations: 0 / 0.7782 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.6188, allocations: 0.6562 kB / 0.7782 GB, free: 14.77 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.0004513/0.6193, allocations: 334.1 kB / 0.7785 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6193, allocations: 10.19 kB / 0.7785 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.6197, allocations: 30.94 kB / 0.7785 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.6198, allocations: 164.3 kB / 0.7787 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.6199, allocations: 35.3 kB / 0.7787 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.6199, allocations: 4.344 kB / 0.7787 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.6201, allocations: 48.8 kB / 0.7788 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6201, allocations: 0.5 kB / 0.7788 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6201, allocations: 0.5938 kB / 0.7788 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.6201, allocations: 5.594 kB / 0.7788 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.6202, allocations: 21.09 kB / 0.7788 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.6206, allocations: 259.1 kB / 0.779 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.6207, allocations: 23.83 kB / 0.7791 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.6207, allocations: 7.266 kB / 0.7791 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.6209, allocations: 95.16 kB / 0.7792 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6209, allocations: 35.5 kB / 0.7792 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6209, allocations: 4.562 kB / 0.7792 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.6212, allocations: 47.91 kB / 0.7792 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6212, allocations: 52.31 kB / 0.7793 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.6213, allocations: 104.7 kB / 0.7794 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6213, allocations: 26.2 kB / 0.7794 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.6214, allocations: 93.11 kB / 0.7795 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.6214, allocations: 8.688 kB / 0.7795 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.6214, allocations: 17.44 kB / 0.7795 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6216, allocations: 321.3 kB / 0.7798 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.6216, allocations: 3.125 kB / 0.7798 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.6216, allocations: 28.69 kB / 0.7799 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.6217, allocations: 32.97 kB / 0.7799 GB, free: 13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6217, allocations: 0.7188 kB / 0.7799 GB, free: 13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.6218, allocations: 55.33 kB / 0.7799 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6218, allocations: 5.438 kB / 0.78 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6218, allocations: 1.125 kB / 0.78 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6219, allocations: 2.469 kB / 0.78 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.6219, allocations: 9.719 kB / 0.78 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6219, allocations: 4.844 kB / 0.78 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.622, allocations: 5.312 kB / 0.78 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.622, allocations: 5.781 kB / 0.78 GB, free: 12.95 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 7.851e-05/0.6221, allocations: 114.4 kB / 0.7801 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.6221, allocations: 1.156 kB / 0.7801 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.6221, allocations: 7.75 kB / 0.7801 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6221, allocations: 0.6562 kB / 0.7801 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6222, allocations: 0.5312 kB / 0.7801 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.6222, allocations: 5.672 kB / 0.7801 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.6225, allocations: 362.7 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6225, allocations: 0.5625 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.6225, allocations: 5.141 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6226, allocations: 4.469 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.6226, allocations: 1.125 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6226, allocations: 0.5 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6226, allocations: 4.609 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.811e-05/0.6227, allocations: 78.05 kB / 0.7805 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.6227, allocations: 78.67 kB / 0.7806 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.6228, allocations: 10.03 kB / 0.7806 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.6229, allocations: 4.016 kB / 0.7806 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.6229, allocations: 4.344 kB / 0.7806 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6229, allocations: 2.844 kB / 0.7806 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.6229, allocations: 79.09 kB / 0.7807 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6229, allocations: 0 / 0.7807 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001997/0.6231, allocations: 13.42 kB / 0.7807 GB, free: 12.17 MB / 0.5919 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.0001474/0.6233, allocations: 102.1 kB / 0.7808 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.6234, allocations: 20.23 kB / 0.7808 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6234, allocations: 0.5 kB / 0.7808 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.6234, allocations: 3.938 kB / 0.7808 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.6237, allocations: 13.08 kB / 0.7809 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.624, allocations: 150.6 kB / 0.781 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.6243, allocations: 0.6774 MB / 0.7817 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.6243, allocations: 8.812 kB / 0.7817 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6243, allocations: 1.688 kB / 0.7817 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.002335/0.6267, allocations: 0.6212 MB / 0.7823 GB, free: 11.18 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)