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.0009636/0.0009636, allocations: 92.22 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.001112/0.001112, allocations: 169 kB / 23.02 MB, free: 1.551 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.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.254 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.001883/0.001883, allocations: 231.2 kB / 260.2 MB, free: 12.68 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.7658/0.7658, allocations: 138.4 MB / 455.1 MB, free: 29.87 MB / 410.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.553e-06/1.553e-06, allocations: 0 / 0.5551 GB, free: 204 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.099e-05, allocations: 4.281 kB / 0.5551 GB, free: 200 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3825/0.3826, allocations: 144.1 MB / 0.6958 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.3827, allocations: 55.02 kB / 0.6959 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.3828, allocations: 2.031 kB / 0.6959 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.3829, allocations: 6.953 kB / 0.6959 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.383, allocations: 13.28 kB / 0.6959 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.3837, allocations: 231.5 kB / 0.6961 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.3838, allocations: 35.33 kB / 0.6962 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.3839, allocations: 6.125 kB / 0.6962 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.3839, allocations: 26.97 kB / 0.6962 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.384, allocations: 8.25 kB / 0.6962 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.384, allocations: 1.062 kB / 0.6962 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.3843, allocations: 166.7 kB / 0.6964 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.3844, allocations: 9.797 kB / 0.6964 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.3844, allocations: 14 kB / 0.6964 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3846, allocations: 108.4 kB / 0.6965 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3846, allocations: 0 / 0.6965 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3846, allocations: 0 / 0.6965 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3846, allocations: 5.156 kB / 0.6965 GB, free: 52.1 MB / 0.5573 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.0003283/0.385, allocations: 371.2 kB / 0.6968 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.385, allocations: 15.34 kB / 0.6969 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.3853, allocations: 33.28 kB / 0.6969 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.72e-05/0.3853, allocations: 110.2 kB / 0.697 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.3854, allocations: 53.16 kB / 0.697 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3854, allocations: 3.094 kB / 0.697 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3855, allocations: 81.48 kB / 0.6971 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3855, allocations: 0 / 0.6971 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3855, allocations: 5.156 kB / 0.6971 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3856, allocations: 3.625 kB / 0.6971 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.3856, allocations: 15.72 kB / 0.6971 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.3859, allocations: 261.6 kB / 0.6974 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.3859, allocations: 30.66 kB / 0.6974 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.3859, allocations: 9.562 kB / 0.6974 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.386, allocations: 13.92 kB / 0.6974 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3861, allocations: 45.66 kB / 0.6975 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3861, allocations: 0 / 0.6975 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.000199/0.3863, allocations: 47.03 kB / 0.6975 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.3863, allocations: 52.66 kB / 0.6976 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.3863, allocations: 171.5 kB / 0.6978 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3863, allocations: 29.02 kB / 0.6978 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.3864, allocations: 136 kB / 0.6979 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.3864, allocations: 1.219 kB / 0.6979 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.3864, allocations: 29.62 kB / 0.6979 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.3865, allocations: 0.49 MB / 0.6984 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.3865, allocations: 5.5 kB / 0.6984 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.3865, allocations: 29.61 kB / 0.6984 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.3865, allocations: 37.78 kB / 0.6985 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3865, allocations: 1.094 kB / 0.6985 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.126e-05/0.3866, allocations: 49.94 kB / 0.6985 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3866, allocations: 7.75 kB / 0.6985 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3866, allocations: 5.156 kB / 0.6985 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3866, allocations: 1.156 kB / 0.6985 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.3867, allocations: 7.312 kB / 0.6986 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3867, allocations: 1.062 kB / 0.6986 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.3867, allocations: 3.25 kB / 0.6986 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3867, allocations: 12.5 kB / 0.6986 GB, free: 50 MB / 0.5573 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.544e-05/0.3868, allocations: 160.7 kB / 0.6987 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.3868, allocations: 2.188 kB / 0.6987 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.3868, allocations: 7.625 kB / 0.6987 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3868, allocations: 0 / 0.6987 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3868, allocations: 5.125 kB / 0.6987 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3868, allocations: 0 / 0.6987 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.387, allocations: 421.9 kB / 0.6991 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.387, allocations: 1.062 kB / 0.6991 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.387, allocations: 6.125 kB / 0.6991 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.387, allocations: 1.125 kB / 0.6991 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.387, allocations: 1.062 kB / 0.6991 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.387, allocations: 0 / 0.6991 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.387, allocations: 1.094 kB / 0.6992 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.253e-05/0.387, allocations: 93.94 kB / 0.6992 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.387, allocations: 1.281 kB / 0.6992 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3871, allocations: 2.594 kB / 0.6992 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.3871, allocations: 4.297 kB / 0.6992 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.3871, allocations: 1.188 kB / 0.6992 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3871, allocations: 4.969 kB / 0.6993 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.012e-05/0.3871, allocations: 128.1 kB / 0.6994 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3871, allocations: 0 / 0.6994 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001321/0.3873, allocations: 7.312 kB / 0.6994 GB, free: 49.17 MB / 0.5573 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.0001047/0.3874, allocations: 102.3 kB / 0.6995 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.3875, allocations: 26.22 kB / 0.6995 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3875, allocations: 0 / 0.6995 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.3875, allocations: 13.69 kB / 0.6995 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.3876, allocations: 15.14 kB / 0.6995 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.3881, allocations: 133.5 kB / 0.6997 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.3881, allocations: 59.58 kB / 0.6997 GB, free: 48.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.3881, allocations: 11.27 kB / 0.6997 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.3882, allocations: 9.562 kB / 0.6997 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.3882, allocations: 0.9688 kB / 0.6997 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of Templates: time 0.002454/0.3906, allocations: 0.6851 MB / 0.7004 GB, free: 48.78 MB / 0.5573 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.26701145619154]