Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 173 kB / 23.5 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9639/0.9639, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002625/0.002625, allocations: 237.1 kB / 260.5 MB, free: 12.89 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7579/0.7579, allocations: 138.4 MB / 455.4 MB, free: 1.516 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.804e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3504/0.3504, allocations: 143.9 MB / 0.6955 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.3505, allocations: 65.89 kB / 0.6956 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.3505, allocations: 0 / 0.6956 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3506, allocations: 7.875 kB / 0.6956 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.3507, allocations: 7.984 kB / 0.6956 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.3513, allocations: 215.7 kB / 0.6958 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3514, allocations: 39.84 kB / 0.6958 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.3514, allocations: 3.984 kB / 0.6958 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.3514, allocations: 15.98 kB / 0.6958 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.3515, allocations: 11.92 kB / 0.6959 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3515, allocations: 7.938 kB / 0.6959 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.3518, allocations: 155.5 kB / 0.696 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.3518, allocations: 11.98 kB / 0.696 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3518, allocations: 11.92 kB / 0.696 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.352, allocations: 115.7 kB / 0.6961 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.352, allocations: 4 kB / 0.6962 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.352, allocations: 0 / 0.6962 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.352, allocations: 0 / 0.6962 GB, free: 12.55 MB / 0.5105 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.0002912/0.3523, allocations: 374.2 kB / 0.6965 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3523, allocations: 8.75 kB / 0.6965 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.3526, allocations: 37.48 kB / 0.6966 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.886e-05/0.3527, allocations: 108.6 kB / 0.6967 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.3527, allocations: 55.97 kB / 0.6967 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3527, allocations: 384 / 0.6967 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.3529, allocations: 88.03 kB / 0.6968 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.3529, allocations: 0 / 0.6968 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3529, allocations: 0 / 0.6968 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.3529, allocations: 4 kB / 0.6968 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.3529, allocations: 11.98 kB / 0.6968 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.3532, allocations: 255.8 kB / 0.6971 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.3532, allocations: 35 kB / 0.6971 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.3532, allocations: 11.75 kB / 0.6971 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.353e-05/0.3533, allocations: 19.98 kB / 0.6971 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.3533, allocations: 37.39 kB / 0.6972 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3533, allocations: 0 / 0.6972 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.3535, allocations: 45.69 kB / 0.6972 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.3535, allocations: 55.34 kB / 0.6972 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/0.3536, allocations: 165.9 kB / 0.6974 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3536, allocations: 25.7 kB / 0.6974 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.3536, allocations: 142.8 kB / 0.6976 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.3536, allocations: 8.109 kB / 0.6976 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.3536, allocations: 27.33 kB / 0.6976 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.3537, allocations: 0.4883 MB / 0.6981 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.3537, allocations: 4 kB / 0.6981 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.3537, allocations: 27.06 kB / 0.6981 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.3537, allocations: 39 kB / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3537, allocations: 0.8125 kB / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.548e-05/0.3538, allocations: 57.66 kB / 0.6982 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3538, allocations: 4 kB / 0.6982 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3538, allocations: 0 / 0.6982 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3538, allocations: 7.938 kB / 0.6982 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.163e-05/0.3538, allocations: 4 kB / 0.6982 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3538, allocations: 0 / 0.6982 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.3538, allocations: 4 kB / 0.6982 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3539, allocations: 7.422 kB / 0.6982 GB, free: 10.18 MB / 0.5105 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 3.555e-05/0.3539, allocations: 164.5 kB / 0.6984 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3539, allocations: 0 / 0.6984 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.3539, allocations: 11.38 kB / 0.6984 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3539, allocations: 4.281 kB / 0.6984 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3539, allocations: 0 / 0.6984 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3539, allocations: 3.938 kB / 0.6984 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3541, allocations: 416 kB / 0.6988 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.3541, allocations: 0 / 0.6988 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-06/0.3541, allocations: 11.92 kB / 0.6988 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.3541, allocations: 0 / 0.6988 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3541, allocations: 4 kB / 0.6988 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.3541, allocations: 0 / 0.6988 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3541, allocations: 4.062 kB / 0.6988 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.869e-05/0.3541, allocations: 84.08 kB / 0.6989 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.3541, allocations: 3.984 kB / 0.6989 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.3541, allocations: 0 / 0.6989 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.3542, allocations: 8 kB / 0.6989 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.3542, allocations: 0 / 0.6989 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3542, allocations: 7.938 kB / 0.6989 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.3542, allocations: 123.2 kB / 0.699 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3542, allocations: 0 / 0.699 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001229/0.3543, allocations: 11.94 kB / 0.699 GB, free: 9.254 MB / 0.5105 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 9.347e-05/0.3544, allocations: 99.28 kB / 0.6991 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.3545, allocations: 23.69 kB / 0.6992 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3545, allocations: 0 / 0.6992 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.3545, allocations: 19.61 kB / 0.6992 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.3547, allocations: 8 kB / 0.6992 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.3552, allocations: 133.1 kB / 0.6993 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.126e-05/0.3552, allocations: 61.31 kB / 0.6994 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.3552, allocations: 7.984 kB / 0.6994 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.3552, allocations: 16.5 kB / 0.6994 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.3552, allocations: 3.938 kB / 0.6994 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of Templates: time 0.002092/0.3573, allocations: 0.6933 MB / 0.7001 GB, free: 8.172 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.945045077940449]