Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.0006684/0.0006684, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009646/0.001633, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007465/0.0007465, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001929, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9441/0.9441, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09117/1.035, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001435/0.001435, allocations: 240.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002653, allocations: 466.9 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7447/0.7447, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07325/0.818, allocations: 42.4 MB / 426.5 MB, free: 5.949 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 4 kB / 427.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.448e-05, allocations: 2.312 kB / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003707/0.003721, allocations: 4.212 MB / 432 MB, free: 412 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.003852, allocations: 167.4 kB / 432.1 MB, free: 244 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.003868, allocations: 0 / 432.1 MB, free: 244 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.003923, allocations: 7.938 kB / 432.2 MB, free: 236 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.003977, allocations: 15.91 kB / 432.2 MB, free: 220 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.004167, allocations: 87.61 kB / 432.3 MB, free: 132 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.004238, allocations: 31.86 kB / 432.3 MB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.004273, allocations: 7.984 kB / 432.3 MB, free: 92 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.004332, allocations: 23.98 kB / 432.3 MB, free: 68 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.004394, allocations: 15.91 kB / 432.3 MB, free: 52 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.004405, allocations: 0 / 432.3 MB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1919/0.1963, allocations: 54.22 kB / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1964, allocations: 3.062 kB / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.1964, allocations: 5.656 kB / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1966, allocations: 46.64 kB / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.1966, allocations: 1.781 kB / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1966, allocations: 0 / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1966, allocations: 0 / 432.4 MB, free: 1.258 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003082/0.1969, allocations: 247.3 kB / 432.7 MB, free: 17.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.1969, allocations: 10.06 kB / 432.7 MB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.1969, allocations: 4.906 kB / 432.7 MB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.721e-05/0.197, allocations: 112.9 kB / 432.8 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.1971, allocations: 53.22 kB / 432.9 MB, free: 16.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.1971, allocations: 3 kB / 432.9 MB, free: 16.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.1972, allocations: 79.14 kB / 432.9 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1972, allocations: 384 / 432.9 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1972, allocations: 6.172 kB / 432.9 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1972, allocations: 5.719 kB / 433 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.1972, allocations: 8.25 kB / 433 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1975, allocations: 161.1 kB / 433.1 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.326e-05/0.1975, allocations: 21.17 kB / 433.1 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-06/0.1975, allocations: 5.766 kB / 433.1 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1975, allocations: 10.11 kB / 433.2 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1975, allocations: 34.66 kB / 433.2 MB, free: 16.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1975, allocations: 0 / 433.2 MB, free: 16.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.518e-05/0.1976, allocations: 41.12 kB / 433.2 MB, free: 16.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.1976, allocations: 52.53 kB / 433.3 MB, free: 16.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/0.1977, allocations: 108 kB / 433.4 MB, free: 16.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.1977, allocations: 25.7 kB / 433.4 MB, free: 16.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.198, allocations: 94.38 kB / 433.5 MB, free: 16.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.198, allocations: 2.531 kB / 433.5 MB, free: 16.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.198, allocations: 13.62 kB / 433.5 MB, free: 16.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.1981, allocations: 317.3 kB / 433.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-06/0.1981, allocations: 3.422 kB / 433.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.1981, allocations: 14.5 kB / 433.8 MB, free: 15.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.1981, allocations: 26.53 kB / 433.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1981, allocations: 0 / 433.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.955e-05/0.1982, allocations: 44.53 kB / 433.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1982, allocations: 9.656 kB / 433.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1982, allocations: 2.547 kB / 433.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.1982, allocations: 0 / 433.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.1982, allocations: 11.64 kB / 433.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.1982, allocations: 2.234 kB / 433.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.1982, allocations: 8.703 kB / 434 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1982, allocations: 2.031 kB / 434 MB, free: 15.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.24e-05/0.1983, allocations: 112.2 kB / 434.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1983, allocations: 5.078 kB / 434.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.1984, allocations: 124 kB / 434.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.1984, allocations: 179.2 kB / 434.4 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/0.1984, allocations: 180.6 kB / 434.5 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/0.1985, allocations: 182.7 kB / 434.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1986, allocations: 321.6 kB / 435 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.1986, allocations: 101.8 kB / 435.1 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.1987, allocations: 109.3 kB / 435.2 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.1987, allocations: 105 kB / 435.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-05/0.1987, allocations: 184 kB / 435.5 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.1988, allocations: 185.2 kB / 435.7 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.413e-05/0.1988, allocations: 182.7 kB / 435.9 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.48e-05/0.1988, allocations: 181.2 kB / 436.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.138e-05/0.1989, allocations: 312 kB / 436.4 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.199, allocations: 183.2 kB / 436.5 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1991, allocations: 107.9 kB / 436.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1991, allocations: 184 kB / 436.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1991, allocations: 103.5 kB / 436.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.397e-05/0.1991, allocations: 15.14 kB / 436.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1991, allocations: 0 / 436.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000143/0.1993, allocations: 19.83 kB / 437 MB, free: 12.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001323/0.1994, allocations: 173.6 kB / 437.1 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.235e-05/0.1995, allocations: 11.98 kB / 437.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.1995, allocations: 7.141 kB / 437.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1995, allocations: 4.219 kB / 437.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1997, allocations: 466.7 kB / 437.6 MB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.2004, allocations: 195.3 kB / 437.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.2004, allocations: 54.23 kB / 437.9 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.684e-05/0.2004, allocations: 6.016 kB / 437.9 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.2005, allocations: 66.08 kB / 437.9 MB, free: 11.9 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2005, allocations: 0 / 437.9 MB, free: 11.9 MB / 426.7 MB Notification: Performance of Templates: time 0.002168/0.2027, allocations: 0.7701 MB / 438.7 MB, free: 11.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4029489643871784]