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.0009502/0.0009502, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001241/0.001241, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001736/0.001736, allocations: 237.1 kB / 260.2 MB, free: 12.84 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.7203/0.7203, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.67e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3693/0.3693, allocations: 144.1 MB / 0.6959 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.3694, allocations: 61.91 kB / 0.6959 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.3694, allocations: 0 / 0.6959 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.3695, allocations: 0 / 0.6959 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.3696, allocations: 15.86 kB / 0.6959 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.3702, allocations: 227.7 kB / 0.6961 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.3703, allocations: 39.84 kB / 0.6962 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.3703, allocations: 3.984 kB / 0.6962 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.3704, allocations: 15.98 kB / 0.6962 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.3704, allocations: 15.98 kB / 0.6962 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3705, allocations: 0 / 0.6962 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.3707, allocations: 167.4 kB / 0.6964 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.3708, allocations: 11.97 kB / 0.6964 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.3708, allocations: 11.94 kB / 0.6964 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3709, allocations: 111.7 kB / 0.6965 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.371, allocations: 0 / 0.6965 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.371, allocations: 4 kB / 0.6965 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.371, allocations: 4 kB / 0.6965 GB, free: 12.14 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.0002891/0.3712, allocations: 366.3 kB / 0.6969 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3713, allocations: 12.75 kB / 0.6969 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.3716, allocations: 33.48 kB / 0.6969 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.057e-05/0.3716, allocations: 112.6 kB / 0.697 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.3717, allocations: 51.97 kB / 0.6971 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.3717, allocations: 4.375 kB / 0.6971 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.3718, allocations: 87.97 kB / 0.6972 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.3718, allocations: 4 kB / 0.6972 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3718, allocations: 0 / 0.6972 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3718, allocations: 0 / 0.6972 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.3718, allocations: 11.98 kB / 0.6972 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.3721, allocations: 259.8 kB / 0.6974 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.3721, allocations: 35.06 kB / 0.6975 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.3721, allocations: 11.62 kB / 0.6975 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/0.3722, allocations: 20.05 kB / 0.6975 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.3722, allocations: 33.39 kB / 0.6975 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3722, allocations: 0 / 0.6975 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.3724, allocations: 49.69 kB / 0.6976 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.3724, allocations: 51.41 kB / 0.6976 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.3725, allocations: 173.9 kB / 0.6978 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.3725, allocations: 25.7 kB / 0.6978 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.3725, allocations: 138.8 kB / 0.6979 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.3725, allocations: 0 / 0.6979 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.3725, allocations: 27.45 kB / 0.698 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.3726, allocations: 0.4922 MB / 0.6984 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.3726, allocations: 7.922 kB / 0.6984 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.3726, allocations: 27.06 kB / 0.6985 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.3726, allocations: 35.06 kB / 0.6985 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3726, allocations: 0 / 0.6985 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.287e-05/0.3727, allocations: 57.56 kB / 0.6986 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3727, allocations: 12.09 kB / 0.6986 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3727, allocations: 0 / 0.6986 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3727, allocations: 0 / 0.6986 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.3728, allocations: 4 kB / 0.6986 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3728, allocations: 5.016 kB / 0.6986 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.3728, allocations: 0 / 0.6986 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.3728, allocations: 4 kB / 0.6986 GB, free: 9.777 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 4.118e-05/0.3728, allocations: 164.5 kB / 0.6987 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.3728, allocations: 7.938 kB / 0.6987 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.3729, allocations: 7.312 kB / 0.6988 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3729, allocations: 4 kB / 0.6988 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3729, allocations: 0 / 0.6988 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3729, allocations: 0 / 0.6988 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.373, allocations: 419.9 kB / 0.6992 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.373, allocations: 0 / 0.6992 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.373, allocations: 3.984 kB / 0.6992 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.373, allocations: 4 kB / 0.6992 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.373, allocations: 0.625 kB / 0.6992 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.373, allocations: 0 / 0.6992 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.373, allocations: 0 / 0.6992 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.375e-05/0.3731, allocations: 92.08 kB / 0.6993 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.3731, allocations: 4 kB / 0.6993 GB, free: 9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3731, allocations: 7.422 kB / 0.6993 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.3731, allocations: 0 / 0.6993 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.3732, allocations: 8 kB / 0.6993 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.3732, allocations: 3.938 kB / 0.6993 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.717e-05/0.3732, allocations: 123.2 kB / 0.6994 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3732, allocations: 0 / 0.6994 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001285/0.3733, allocations: 8 kB / 0.6994 GB, free: 8.855 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 8.572e-05/0.3734, allocations: 103.3 kB / 0.6995 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.3735, allocations: 23.62 kB / 0.6995 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3735, allocations: 0 / 0.6995 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.3735, allocations: 11.69 kB / 0.6995 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.3736, allocations: 19.92 kB / 0.6996 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.374, allocations: 129.1 kB / 0.6997 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.128e-05/0.374, allocations: 57.38 kB / 0.6997 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.3741, allocations: 8.406 kB / 0.6997 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.3741, allocations: 12.5 kB / 0.6998 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.3741, allocations: 4 kB / 0.6998 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.002259/0.3764, allocations: 0.7637 MB / 0.7005 GB, free: 7.707 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: 4.071096322033554]