Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001466/0.001466, allocations: 215.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.003427/0.003427, allocations: 285.8 kB / 312.7 MB, free: 2.59 MB / 238.1 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 1.323/1.323, allocations: 180.6 MB / 0.5369 GB, free: 14.4 MB / 382.1 MB " [Timeout remaining time 178] 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 99.5 kB / 0.74 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1818, allocations: 95.38 MB / 0.8332 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006646/0.1885, allocations: 4.522 MB / 0.8376 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.1917, allocations: 2.457 MB / 0.84 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.1918, allocations: 0 / 0.84 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.1921, allocations: 39.7 kB / 0.84 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.1923, allocations: 103.3 kB / 0.8401 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1937, allocations: 0.5258 MB / 0.8406 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.194, allocations: 228 kB / 0.8408 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1941, allocations: 5.75 kB / 0.8408 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1943, allocations: 127.5 kB / 0.841 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1945, allocations: 91.64 kB / 0.8411 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.1945, allocations: 8 kB / 0.8411 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006941/0.1952, allocations: 307.4 kB / 0.8414 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.1953, allocations: 39.89 kB / 0.8414 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.1954, allocations: 75.7 kB / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.1961, allocations: 358.8 kB / 0.8418 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1961, allocations: 0 / 0.8418 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1961, allocations: 0 / 0.8418 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1961, allocations: 0 / 0.8418 GB, free: 15.03 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.0008234/0.1969, allocations: 445.4 kB / 0.8422 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.197, allocations: 9.344 kB / 0.8422 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1971, allocations: 24.83 kB / 0.8423 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1974, allocations: 166.2 kB / 0.8424 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1975, allocations: 12.7 kB / 0.8424 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1975, allocations: 16.38 kB / 0.8425 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.198, allocations: 492.1 kB / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.198, allocations: 0 / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1981, allocations: 8 kB / 0.8429 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.1981, allocations: 4 kB / 0.8429 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.1986, allocations: 427.3 kB / 0.8433 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1998, allocations: 0.7701 MB / 0.8441 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.2002, allocations: 159.6 kB / 0.8442 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.2003, allocations: 52.89 kB / 0.8443 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/0.2011, allocations: 455.9 kB / 0.8447 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2011, allocations: 34.56 kB / 0.8448 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.2011, allocations: 0 / 0.8448 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003554/0.2015, allocations: 147.6 kB / 0.8449 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2015, allocations: 51.41 kB / 0.845 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2017, allocations: 169.3 kB / 0.8451 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.2017, allocations: 33.7 kB / 0.8451 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2018, allocations: 152.1 kB / 0.8453 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.2018, allocations: 47.53 kB / 0.8453 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.2019, allocations: 57.66 kB / 0.8454 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2021, allocations: 326.8 kB / 0.8457 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.2021, allocations: 39.97 kB / 0.8457 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2023, allocations: 139.4 kB / 0.8459 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.2026, allocations: 195.8 kB / 0.8461 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2026, allocations: 4 kB / 0.8461 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003779/0.203, allocations: 213.2 kB / 0.8463 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.203, allocations: 8 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.203, allocations: 7.938 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.203, allocations: 4 kB / 0.8463 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.2032, allocations: 64.33 kB / 0.8463 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.2032, allocations: 11.92 kB / 0.8464 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2033, allocations: 31.84 kB / 0.8464 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2034, allocations: 12 kB / 0.8464 GB, free: 9.965 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.0001281/0.2035, allocations: 133.7 kB / 0.8465 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.2035, allocations: 7.953 kB / 0.8465 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.2038, allocations: 162 kB / 0.8467 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2039, allocations: 3.938 kB / 0.8467 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2039, allocations: 3.938 kB / 0.8467 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2039, allocations: 4 kB / 0.8467 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2041, allocations: 157.2 kB / 0.8469 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2041, allocations: 0 / 0.8469 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2042, allocations: 31.98 kB / 0.8469 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2042, allocations: 0 / 0.8469 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2042, allocations: 4 kB / 0.8469 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2042, allocations: 0 / 0.8469 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2042, allocations: 0 / 0.8469 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2045, allocations: 230.4 kB / 0.8471 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.2046, allocations: 35.81 kB / 0.8471 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2046, allocations: 4 kB / 0.8471 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2048, allocations: 15.98 kB / 0.8472 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.2048, allocations: 11.98 kB / 0.8472 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.2049, allocations: 15.92 kB / 0.8472 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.833e-05/0.2049, allocations: 109.7 kB / 0.8473 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2049, allocations: 0 / 0.8473 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003999/0.2053, allocations: 79.88 kB / 0.8474 GB, free: 8.918 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.0003239/0.2057, allocations: 175 kB / 0.8475 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.2059, allocations: 115.7 kB / 0.8476 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2059, allocations: 4 kB / 0.8476 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.206, allocations: 36.86 kB / 0.8477 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2064, allocations: 43.89 kB / 0.8477 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.2071, allocations: 328 kB / 0.848 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.2072, allocations: 115.1 kB / 0.8481 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.2074, allocations: 41.34 kB / 0.8482 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.2074, allocations: 27.42 kB / 0.8482 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.2074, allocations: 3.938 kB / 0.8482 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of Templates: time 0.007868/0.2153, allocations: 3.332 MB / 0.8515 GB, free: 4.73 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.423783840611577] Failed to read output from testmodel.py, exit status != 0: 0.22297706082463264 0.238354257 0.039022923 Calling exit ...