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.001291/0.001291, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001429/0.001429, allocations: 213.4 kB / 23.01 MB, free: 4.566 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.002451/0.002451, allocations: 278.3 kB / 313.5 MB, free: 2.836 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.176/1.176, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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.002761/0.002761, allocations: 101.8 kB / 0.7408 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1605, allocations: 95.38 MB / 0.834 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006799/0.1673, allocations: 4.847 MB / 0.8387 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1705, allocations: 2.73 MB / 0.8414 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1706, allocations: 4 kB / 0.8414 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1709, allocations: 47.67 kB / 0.8414 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.1712, allocations: 103.4 kB / 0.8415 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1725, allocations: 0.5134 MB / 0.842 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.1728, allocations: 228 kB / 0.8423 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.1728, allocations: 13.72 kB / 0.8423 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.1731, allocations: 123.5 kB / 0.8424 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1732, allocations: 95.59 kB / 0.8425 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1733, allocations: 8 kB / 0.8425 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.1741, allocations: 391.3 kB / 0.8429 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.1741, allocations: 43.81 kB / 0.8429 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.1742, allocations: 83.59 kB / 0.843 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.1749, allocations: 366.8 kB / 0.8433 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1749, allocations: 0 / 0.8433 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1749, allocations: 0 / 0.8433 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.1749, allocations: 0 / 0.8433 GB, free: 14.49 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.0007905/0.1757, allocations: 457.4 kB / 0.8438 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1757, allocations: 9.344 kB / 0.8438 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1759, allocations: 24.84 kB / 0.8438 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1762, allocations: 154.2 kB / 0.8439 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1762, allocations: 16.69 kB / 0.844 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1762, allocations: 12.38 kB / 0.844 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.1766, allocations: 264.8 kB / 0.8442 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1766, allocations: 0 / 0.8442 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1766, allocations: 12 kB / 0.8442 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.1767, allocations: 11.98 kB / 0.8442 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.1772, allocations: 451.3 kB / 0.8447 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1784, allocations: 0.9168 MB / 0.8456 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1786, allocations: 151.5 kB / 0.8457 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.1787, allocations: 56.88 kB / 0.8458 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.1795, allocations: 463.9 kB / 0.8462 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1795, allocations: 38.5 kB / 0.8463 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.1795, allocations: 0 / 0.8463 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003315/0.1799, allocations: 148.9 kB / 0.8464 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1799, allocations: 59.34 kB / 0.8464 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1801, allocations: 179.9 kB / 0.8466 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1801, allocations: 29.7 kB / 0.8466 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.1802, allocations: 148 kB / 0.8468 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1802, allocations: 47.59 kB / 0.8468 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.1803, allocations: 53.66 kB / 0.8469 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1805, allocations: 322.8 kB / 0.8472 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.1805, allocations: 39.97 kB / 0.8472 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1807, allocations: 143.4 kB / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.1809, allocations: 201.5 kB / 0.8476 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1809, allocations: 0 / 0.8476 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003439/0.1813, allocations: 213.2 kB / 0.8478 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1813, allocations: 8 kB / 0.8478 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1813, allocations: 0 / 0.8478 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1813, allocations: 8 kB / 0.8478 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1815, allocations: 55.84 kB / 0.8478 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.1815, allocations: 8.406 kB / 0.8478 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1816, allocations: 35.73 kB / 0.8479 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1816, allocations: 19.94 kB / 0.8479 GB, free: 9.461 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.000122/0.1817, allocations: 133.7 kB / 0.848 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.1818, allocations: 11.95 kB / 0.848 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.1821, allocations: 158.9 kB / 0.8482 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1821, allocations: 3.938 kB / 0.8482 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1821, allocations: 4 kB / 0.8482 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1821, allocations: 0 / 0.8482 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1823, allocations: 192.6 kB / 0.8484 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1823, allocations: 0 / 0.8484 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.1824, allocations: 31.92 kB / 0.8484 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1824, allocations: 0 / 0.8484 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1824, allocations: 0 / 0.8484 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1825, allocations: 7.938 kB / 0.8484 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1825, allocations: 0 / 0.8484 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1827, allocations: 226.1 kB / 0.8486 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.1828, allocations: 31.86 kB / 0.8487 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1828, allocations: 16 kB / 0.8487 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.183, allocations: 15.92 kB / 0.8487 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.183, allocations: 15.92 kB / 0.8487 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.183, allocations: 4 kB / 0.8487 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.286e-05/0.1831, allocations: 123.9 kB / 0.8488 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1831, allocations: 0 / 0.8488 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003864/0.1835, allocations: 79.88 kB / 0.8489 GB, free: 8.355 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.0002902/0.1838, allocations: 175 kB / 0.8491 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.184, allocations: 116.3 kB / 0.8492 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1841, allocations: 12.25 kB / 0.8492 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.1841, allocations: 39.92 kB / 0.8492 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1845, allocations: 55.88 kB / 0.8493 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.1852, allocations: 372.4 kB / 0.8496 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1856, allocations: 0.7131 MB / 0.8503 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.1857, allocations: 31.44 kB / 0.8504 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.1857, allocations: 0 / 0.8504 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.005756/0.1914, allocations: 3.24 MB / 0.8535 GB, free: 3.574 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.289105707081035] Failed to read output from testmodel.py, exit status != 0: 0.19867592793889344 0.21345016600000002 0.035519212 Calling exit ...