Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 189.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.002477/0.002477, allocations: 287.2 kB / 306.5 MB, free: 8.355 MB / 238.1 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 1.173/1.173, allocations: 180.9 MB / 0.53 GB, free: 14.42 MB / 382.1 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.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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003003/0.003003, allocations: 103.3 kB / 0.7309 GB, free: 38.61 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1596, allocations: 94.2 MB / 0.8229 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01738/0.177, allocations: 13.09 MB / 0.8357 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.1801, allocations: 2.679 MB / 0.8383 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.1802, allocations: 4 kB / 0.8383 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1804, allocations: 51.67 kB / 0.8383 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1807, allocations: 99.36 kB / 0.8384 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1819, allocations: 0.5192 MB / 0.8389 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1821, allocations: 231.9 kB / 0.8392 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1822, allocations: 5.75 kB / 0.8392 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/0.1897, allocations: 3.587 MB / 0.8427 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1898, allocations: 95.59 kB / 0.8428 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1898, allocations: 8 kB / 0.8428 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.1922, allocations: 1.102 MB / 0.8438 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.1922, allocations: 43.83 kB / 0.8439 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.1923, allocations: 75.66 kB / 0.844 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.1929, allocations: 374.8 kB / 0.8443 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1929, allocations: 4 kB / 0.8443 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1929, allocations: 0 / 0.8443 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1929, allocations: 0 / 0.8443 GB, free: 11.79 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007943/0.1937, allocations: 441.5 kB / 0.8447 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1938, allocations: 8.031 kB / 0.8448 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1939, allocations: 20.84 kB / 0.8448 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1942, allocations: 158.3 kB / 0.8449 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1942, allocations: 20.64 kB / 0.8449 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1942, allocations: 16.38 kB / 0.845 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.1946, allocations: 261.3 kB / 0.8452 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1946, allocations: 4 kB / 0.8452 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1947, allocations: 4 kB / 0.8452 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.1947, allocations: 11.98 kB / 0.8452 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.1952, allocations: 444.1 kB / 0.8457 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1964, allocations: 0.9402 MB / 0.8466 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.1967, allocations: 154.6 kB / 0.8467 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.1968, allocations: 56.89 kB / 0.8468 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/0.1975, allocations: 475.8 kB / 0.8472 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1975, allocations: 34.56 kB / 0.8473 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1975, allocations: 0 / 0.8473 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003475/0.1979, allocations: 156.5 kB / 0.8474 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1979, allocations: 55.34 kB / 0.8475 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1981, allocations: 169.8 kB / 0.8476 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1981, allocations: 29.7 kB / 0.8476 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.1982, allocations: 144.1 kB / 0.8478 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.1983, allocations: 63.47 kB / 0.8478 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.1983, allocations: 49.7 kB / 0.8479 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.1986, allocations: 326.8 kB / 0.8482 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1986, allocations: 31.98 kB / 0.8482 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1988, allocations: 146.2 kB / 0.8484 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.199, allocations: 197.5 kB / 0.8486 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.199, allocations: 4 kB / 0.8486 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003342/0.1994, allocations: 212.8 kB / 0.8488 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1994, allocations: 12.03 kB / 0.8488 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1994, allocations: 7.938 kB / 0.8488 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1994, allocations: 4 kB / 0.8488 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1996, allocations: 55.84 kB / 0.8488 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1996, allocations: 11.94 kB / 0.8489 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1997, allocations: 27.78 kB / 0.8489 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1997, allocations: 16 kB / 0.8489 GB, free: 6.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001125/0.1998, allocations: 130.4 kB / 0.849 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.1999, allocations: 15.91 kB / 0.849 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.2002, allocations: 166.8 kB / 0.8492 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.2002, allocations: 7.938 kB / 0.8492 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2002, allocations: 0 / 0.8492 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2002, allocations: 0 / 0.8492 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.2005, allocations: 180.6 kB / 0.8494 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2006, allocations: 0 / 0.8494 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.2007, allocations: 27.98 kB / 0.8494 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2007, allocations: 3.938 kB / 0.8494 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2007, allocations: 7.984 kB / 0.8494 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2007, allocations: 3.938 kB / 0.8494 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2007, allocations: 7.984 kB / 0.8494 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.201, allocations: 219.4 kB / 0.8496 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.2011, allocations: 39.8 kB / 0.8497 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2011, allocations: 0 / 0.8497 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2013, allocations: 23.92 kB / 0.8497 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.2013, allocations: 7.984 kB / 0.8497 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.2014, allocations: 15.98 kB / 0.8497 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.824e-05/0.2015, allocations: 125.8 kB / 0.8498 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2015, allocations: 0 / 0.8498 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003701/0.2019, allocations: 71.88 kB / 0.8499 GB, free: 5.648 MB / 0.5919 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003261/0.2022, allocations: 187 kB / 0.8501 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.2024, allocations: 118.7 kB / 0.8502 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2024, allocations: 0 / 0.8502 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.2025, allocations: 35.92 kB / 0.8502 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.2029, allocations: 52.84 kB / 0.8503 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.2036, allocations: 348.1 kB / 0.8506 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.204, allocations: 0.7129 MB / 0.8513 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.2041, allocations: 53.61 kB / 0.8514 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.2042, allocations: 23.44 kB / 0.8514 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.2042, allocations: 0 / 0.8514 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of Templates: time 0.007859/0.212, allocations: 3.786 MB / 0.8551 GB, free: 340 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.889936859719455] Failed to read output from testmodel.py, exit status != 0: 0.21930997632443905 0.23405767400000002 0.038211726 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc02ccc57b0>