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.001659/0.001659, allocations: 117.9 kB / 17.09 MB, free: 5.988 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.001872/0.001872, allocations: 195 kB / 18.02 MB, free: 5.07 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7358, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 64.86 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1931, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5973/0.7905, allocations: 148.3 MB / 0.7775 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.7906, allocations: 64.31 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.7907, allocations: 1.203 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.7908, allocations: 0 / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.7909, allocations: 13.97 kB / 0.7776 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.7916, allocations: 209.9 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.7917, allocations: 35.38 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.7918, allocations: 1.188 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.7918, allocations: 19.09 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.7919, allocations: 10.98 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.7919, allocations: 1.031 kB / 0.7778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.7924, allocations: 202.5 kB / 0.778 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.7924, allocations: 6.578 kB / 0.778 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.7925, allocations: 14.03 kB / 0.7781 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.7928, allocations: 113.6 kB / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7928, allocations: 4.438 kB / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7928, allocations: 1.203 kB / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.7928, allocations: 3.188 kB / 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.0004336/0.7933, allocations: 335.6 kB / 0.7785 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7933, allocations: 9.844 kB / 0.7785 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.7936, allocations: 25.92 kB / 0.7785 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.7938, allocations: 167.5 kB / 0.7787 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.7939, allocations: 35.52 kB / 0.7787 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.7939, allocations: 2.281 kB / 0.7787 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.794, allocations: 47.75 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.794, allocations: 0.5 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7941, allocations: 0.5 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.7941, allocations: 1.625 kB / 0.7788 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.7942, allocations: 25.31 kB / 0.7788 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.7945, allocations: 260.3 kB / 0.779 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.7946, allocations: 23.36 kB / 0.7791 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.7947, allocations: 7.203 kB / 0.7791 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.7948, allocations: 96 kB / 0.7792 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.7949, allocations: 35.75 kB / 0.7792 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.7949, allocations: 0.5 kB / 0.7792 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002622/0.7951, allocations: 53.25 kB / 0.7792 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.7952, allocations: 51.91 kB / 0.7793 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.7953, allocations: 106.2 kB / 0.7794 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.7953, allocations: 26.3 kB / 0.7794 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.7954, allocations: 91.53 kB / 0.7795 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.7954, allocations: 8.406 kB / 0.7795 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.7954, allocations: 17.34 kB / 0.7795 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7956, allocations: 318.5 kB / 0.7798 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.7956, allocations: 2.938 kB / 0.7798 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.7956, allocations: 28.23 kB / 0.7799 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.7957, allocations: 36.97 kB / 0.7799 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7957, allocations: 0.5312 kB / 0.7799 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.706e-05/0.7958, allocations: 55.05 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.7958, allocations: 5.688 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7958, allocations: 0.5625 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.7959, allocations: 1.219 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.7959, allocations: 8.094 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.7959, allocations: 1.062 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.796, allocations: 11.61 kB / 0.78 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.796, allocations: 1.656 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 9.173e-05/0.7961, allocations: 116.7 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.7961, allocations: 2.953 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.7962, allocations: 7.438 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7962, allocations: 0.5312 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7962, allocations: 2.031 kB / 0.7801 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7962, allocations: 4.781 kB / 0.7801 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.7965, allocations: 362.7 kB / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7965, allocations: 1.75 kB / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.7965, allocations: 4.25 kB / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7965, allocations: 6.625 kB / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.7966, allocations: 3.984 kB / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7966, allocations: 1.5 kB / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7966, allocations: 0 / 0.7805 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.7967, allocations: 74.64 kB / 0.7805 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.7967, allocations: 78.64 kB / 0.7806 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.7968, allocations: 9 kB / 0.7806 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.7969, allocations: 6.219 kB / 0.7806 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.7969, allocations: 6.375 kB / 0.7806 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.7969, allocations: 1.25 kB / 0.7806 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.797, allocations: 81.45 kB / 0.7807 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.797, allocations: 7.969 kB / 0.7807 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001963/0.7972, allocations: 5.25 kB / 0.7807 GB, free: 11.73 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.0001361/0.7973, allocations: 102.6 kB / 0.7808 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.784e-05/0.7974, allocations: 21.41 kB / 0.7809 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7974, allocations: 0 / 0.7809 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.7974, allocations: 6.812 kB / 0.7809 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.7977, allocations: 12.28 kB / 0.7809 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.798, allocations: 142 kB / 0.781 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.7982, allocations: 0.6802 MB / 0.7817 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.7983, allocations: 8.188 kB / 0.7817 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.7983, allocations: 1.203 kB / 0.7817 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.002072/0.8003, allocations: 0.6195 MB / 0.7823 GB, free: 10.75 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)