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.001009/0.001009, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001109/0.001109, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6845/0.6845, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.12 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4665/0.6176, allocations: 148.3 MB / 0.7768 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.6178, allocations: 56.7 kB / 0.7769 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.6178, allocations: 5.031 kB / 0.7769 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.117e-05/0.618, allocations: 6.047 kB / 0.7769 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.618, allocations: 11.55 kB / 0.7769 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.6187, allocations: 208.3 kB / 0.7771 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.622e-05/0.6188, allocations: 30.14 kB / 0.7771 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.114e-05/0.6188, allocations: 9.531 kB / 0.7772 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.6189, allocations: 21.12 kB / 0.7772 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.6189, allocations: 7.25 kB / 0.7772 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.6189, allocations: 1.344 kB / 0.7772 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.6193, allocations: 197.8 kB / 0.7774 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.6194, allocations: 6.797 kB / 0.7774 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.6194, allocations: 20.12 kB / 0.7774 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.6196, allocations: 114 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6197, allocations: 0.5938 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6197, allocations: 0 / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.6197, allocations: 0.5625 kB / 0.7775 GB, free: 14.38 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.0003599/0.62, allocations: 339.7 kB / 0.7778 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6201, allocations: 9.406 kB / 0.7778 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.6204, allocations: 32.42 kB / 0.7779 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.6205, allocations: 161.6 kB / 0.778 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.6205, allocations: 31.27 kB / 0.7781 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.6206, allocations: 5.25 kB / 0.7781 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.6207, allocations: 52.22 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6207, allocations: 0.5312 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6207, allocations: 0.7188 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6207, allocations: 1.688 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.6208, allocations: 25.27 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.6211, allocations: 259.4 kB / 0.7784 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.6212, allocations: 27.42 kB / 0.7784 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.6212, allocations: 10.8 kB / 0.7784 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.6214, allocations: 93.19 kB / 0.7785 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.6214, allocations: 31.78 kB / 0.7785 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6214, allocations: 0.6562 kB / 0.7785 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.000225/0.6217, allocations: 51.8 kB / 0.7786 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6217, allocations: 51.97 kB / 0.7786 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.6218, allocations: 109.6 kB / 0.7787 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6218, allocations: 28.2 kB / 0.7788 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.6219, allocations: 94.5 kB / 0.7789 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.6219, allocations: 6.219 kB / 0.7789 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6219, allocations: 19.3 kB / 0.7789 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.622, allocations: 312.1 kB / 0.7792 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.622, allocations: 9.375 kB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.6221, allocations: 23.05 kB / 0.7792 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.6221, allocations: 32.14 kB / 0.7792 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6221, allocations: 0.6875 kB / 0.7792 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.297e-05/0.6222, allocations: 59.62 kB / 0.7793 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6222, allocations: 5.312 kB / 0.7793 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6223, allocations: 3.266 kB / 0.7793 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6223, allocations: 2.281 kB / 0.7793 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.6223, allocations: 8.75 kB / 0.7793 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6223, allocations: 1.125 kB / 0.7793 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.6224, allocations: 5.5 kB / 0.7793 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.6224, allocations: 1.625 kB / 0.7793 GB, free: 12.55 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.055e-05/0.6225, allocations: 110.9 kB / 0.7794 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.6225, allocations: 5.812 kB / 0.7794 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.6225, allocations: 7.156 kB / 0.7794 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.6225, allocations: 0.5625 kB / 0.7794 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6225, allocations: 6.094 kB / 0.7795 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6225, allocations: 5.672 kB / 0.7795 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.6228, allocations: 361.2 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6228, allocations: 0 / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.6229, allocations: 8.031 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6229, allocations: 3.938 kB / 0.7798 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.6229, allocations: 1.281 kB / 0.7798 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6229, allocations: 1.219 kB / 0.7798 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6229, allocations: 0 / 0.7798 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.623, allocations: 77.12 kB / 0.7799 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.623, allocations: 81.06 kB / 0.78 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.623, allocations: 12.41 kB / 0.78 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.6231, allocations: 6.188 kB / 0.78 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.6231, allocations: 0 / 0.78 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.6231, allocations: 1.406 kB / 0.78 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.6232, allocations: 85.58 kB / 0.7801 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6232, allocations: 0 / 0.7801 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001873/0.6234, allocations: 6.062 kB / 0.7801 GB, free: 11.78 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.0001054/0.6235, allocations: 101.9 kB / 0.7802 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.394e-05/0.6236, allocations: 23.56 kB / 0.7802 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6236, allocations: 0 / 0.7802 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.6236, allocations: 7.781 kB / 0.7802 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.6238, allocations: 8.344 kB / 0.7802 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.624, allocations: 121.8 kB / 0.7803 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.6242, allocations: 0.675 MB / 0.781 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.551e-05/0.6243, allocations: 10.23 kB / 0.781 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.6243, allocations: 10 kB / 0.781 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6243, allocations: 0 / 0.781 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.002226/0.6266, allocations: 0.584 MB / 0.7816 GB, free: 10.79 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)