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.001516/0.001516, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001407/0.001407, allocations: 220.6 kB / 23 MB, free: 4.918 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002545/0.002545, allocations: 295.4 kB / 313.5 MB, free: 2.613 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 14.58 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 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.002892/0.002892, allocations: 109.7 kB / 0.7408 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1691, allocations: 95.39 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006795/0.1759, allocations: 4.51 MB / 0.8383 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1791, allocations: 2.457 MB / 0.8407 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1793, allocations: 4 kB / 0.8407 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.1796, allocations: 39.69 kB / 0.8408 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1799, allocations: 103.4 kB / 0.8409 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1813, allocations: 0.5204 MB / 0.8414 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.1816, allocations: 232 kB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.1816, allocations: 5.75 kB / 0.8416 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1818, allocations: 123.4 kB / 0.8417 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.182, allocations: 87.66 kB / 0.8418 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.182, allocations: 8 kB / 0.8418 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.1826, allocations: 323.3 kB / 0.8421 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.1827, allocations: 39.83 kB / 0.8421 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.1828, allocations: 67.73 kB / 0.8422 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.1834, allocations: 358.8 kB / 0.8426 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1834, allocations: 0 / 0.8426 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1834, allocations: 0 / 0.8426 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1834, allocations: 0 / 0.8426 GB, free: 14.89 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.0007737/0.1842, allocations: 445.4 kB / 0.843 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1842, allocations: 9.938 kB / 0.843 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.1844, allocations: 24.84 kB / 0.843 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1847, allocations: 162.2 kB / 0.8432 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1847, allocations: 16.69 kB / 0.8432 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1847, allocations: 16.38 kB / 0.8432 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.1853, allocations: 496.1 kB / 0.8437 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1853, allocations: 0 / 0.8437 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1853, allocations: 8 kB / 0.8437 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1853, allocations: 8 kB / 0.8437 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.1858, allocations: 423.3 kB / 0.8441 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1869, allocations: 0.774 MB / 0.8448 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1872, allocations: 159.1 kB / 0.845 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1873, allocations: 56.88 kB / 0.845 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/0.1881, allocations: 448 kB / 0.8455 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1881, allocations: 38.56 kB / 0.8455 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.1881, allocations: 0 / 0.8455 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003187/0.1884, allocations: 141.4 kB / 0.8456 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.1885, allocations: 51.41 kB / 0.8457 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1886, allocations: 168.5 kB / 0.8459 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.1886, allocations: 33.7 kB / 0.8459 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.1887, allocations: 152.1 kB / 0.846 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.1888, allocations: 51.53 kB / 0.8461 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.1889, allocations: 53.66 kB / 0.8461 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.189, allocations: 322.8 kB / 0.8464 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.1891, allocations: 43.97 kB / 0.8465 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1892, allocations: 137.6 kB / 0.8466 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1895, allocations: 197.5 kB / 0.8468 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1895, allocations: 4 kB / 0.8468 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003301/0.1898, allocations: 215.8 kB / 0.847 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1898, allocations: 8 kB / 0.847 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1898, allocations: 4 kB / 0.847 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1899, allocations: 4 kB / 0.847 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.19, allocations: 56.38 kB / 0.8471 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.19, allocations: 23.81 kB / 0.8471 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1902, allocations: 27.78 kB / 0.8471 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1902, allocations: 12 kB / 0.8471 GB, free: 9.816 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.0001128/0.1903, allocations: 133.8 kB / 0.8473 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1903, allocations: 11.95 kB / 0.8473 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.1906, allocations: 154.4 kB / 0.8474 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1907, allocations: 4 kB / 0.8474 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1907, allocations: 3.938 kB / 0.8474 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1907, allocations: 3.938 kB / 0.8474 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1909, allocations: 157.2 kB / 0.8476 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1909, allocations: 4 kB / 0.8476 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.191, allocations: 27.98 kB / 0.8476 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.191, allocations: 0 / 0.8476 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.191, allocations: 11.98 kB / 0.8476 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.191, allocations: 0 / 0.8476 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.191, allocations: 0 / 0.8476 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1913, allocations: 219.2 kB / 0.8478 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.1913, allocations: 35.81 kB / 0.8479 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1914, allocations: 4 kB / 0.8479 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1916, allocations: 23.92 kB / 0.8479 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1916, allocations: 11.97 kB / 0.8479 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.1916, allocations: 19.92 kB / 0.8479 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.1917, allocations: 108.1 kB / 0.848 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1917, allocations: 0 / 0.848 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003617/0.1921, allocations: 75.88 kB / 0.8481 GB, free: 8.766 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.000298/0.1924, allocations: 175 kB / 0.8483 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1926, allocations: 118.3 kB / 0.8484 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1926, allocations: 4 kB / 0.8484 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.1927, allocations: 39.92 kB / 0.8484 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.193, allocations: 36.92 kB / 0.8485 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.1937, allocations: 361.6 kB / 0.8488 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.1938, allocations: 107.2 kB / 0.8489 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.1939, allocations: 27.44 kB / 0.8489 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1939, allocations: 0 / 0.8489 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of Templates: time 0.00538/0.1992, allocations: 3.135 MB / 0.852 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: 8.296287210192531] Failed to read output from testmodel.py, exit status != 0: 0.20646552136167884 0.22089604300000001 0.034554238 Calling exit ...