Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.00152/0.00152, allocations: 102.1 kB / 19.7 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.001575/0.001575, allocations: 217.2 kB / 23.01 MB, free: 5.125 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002508/0.002508, allocations: 297.7 kB / 313.5 MB, free: 2.793 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.18/1.18, allocations: 180.6 MB / 0.5377 GB, free: 12.9 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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [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.002798/0.002798, allocations: 100.1 kB / 0.7408 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1731, allocations: 95.39 MB / 0.8339 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002437/0.1755, allocations: 1.287 MB / 0.8352 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004116/0.1796, allocations: 3.361 MB / 0.8385 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.1797, allocations: 4 kB / 0.8385 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1797, allocations: 4 kB / 0.8385 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.1797, allocations: 11.91 kB / 0.8385 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1802, allocations: 103.5 kB / 0.8386 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.1803, allocations: 35.86 kB / 0.8386 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.1803, allocations: 7.938 kB / 0.8386 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.1803, allocations: 23.91 kB / 0.8387 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.1804, allocations: 11.98 kB / 0.8387 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1804, allocations: 4 kB / 0.8387 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.1806, allocations: 87.8 kB / 0.8388 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1807, allocations: 7.922 kB / 0.8388 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.1807, allocations: 15.98 kB / 0.8388 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1809, allocations: 67.75 kB / 0.8388 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1809, allocations: 0 / 0.8388 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1809, allocations: 0 / 0.8388 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1809, allocations: 0 / 0.8388 GB, free: 2.984 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003992/0.1813, allocations: 270.3 kB / 0.8391 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1813, allocations: 21.28 kB / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.1814, allocations: 8.891 kB / 0.8391 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.1815, allocations: 106.5 kB / 0.8392 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1815, allocations: 8.359 kB / 0.8392 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1815, allocations: 8.375 kB / 0.8392 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1817, allocations: 57.78 kB / 0.8393 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1817, allocations: 0 / 0.8393 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1817, allocations: 4 kB / 0.8393 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1817, allocations: 0 / 0.8393 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.1817, allocations: 19.92 kB / 0.8393 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.1819, allocations: 136.8 kB / 0.8395 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.182, allocations: 50.55 kB / 0.8395 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.182, allocations: 12.86 kB / 0.8395 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.1826, allocations: 246.1 kB / 0.8397 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1826, allocations: 38.56 kB / 0.8398 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1826, allocations: 3.938 kB / 0.8398 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005394/0.1831, allocations: 225.4 kB / 0.84 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1832, allocations: 51.41 kB / 0.84 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.1833, allocations: 101.8 kB / 0.8401 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1833, allocations: 25.7 kB / 0.8402 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.1833, allocations: 92.09 kB / 0.8403 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1834, allocations: 27.73 kB / 0.8403 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.1834, allocations: 25.72 kB / 0.8403 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1836, allocations: 326.8 kB / 0.8406 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.1836, allocations: 8 kB / 0.8406 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.263e-05/0.1837, allocations: 57.08 kB / 0.8407 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1838, allocations: 85.19 kB / 0.8408 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1838, allocations: 0 / 0.8408 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/0.1839, allocations: 89.64 kB / 0.8409 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1839, allocations: 19.92 kB / 0.8409 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1839, allocations: 0 / 0.8409 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.184, allocations: 4 kB / 0.8409 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.184, allocations: 20 kB / 0.8409 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.184, allocations: 0 / 0.8409 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1841, allocations: 7.938 kB / 0.8409 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1841, allocations: 4 kB / 0.8409 GB, free: 0.6016 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.559e-05/0.1842, allocations: 122.4 kB / 0.841 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1842, allocations: 0 / 0.841 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.1842, allocations: 16.06 kB / 0.841 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1842, allocations: 0 / 0.841 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1842, allocations: 0 / 0.841 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1842, allocations: 3.938 kB / 0.841 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1845, allocations: 148.8 kB / 0.8412 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1845, allocations: 0 / 0.8412 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.1846, allocations: 15.98 kB / 0.8412 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1846, allocations: 4 kB / 0.8412 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1846, allocations: 0 / 0.8412 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1846, allocations: 0 / 0.8412 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1846, allocations: 0 / 0.8412 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1848, allocations: 179.4 kB / 0.8414 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.1848, allocations: 8.031 kB / 0.8414 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1848, allocations: 4 kB / 0.8414 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.1849, allocations: 4.25 kB / 0.8414 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.1849, allocations: 3.984 kB / 0.8414 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.1849, allocations: 11.94 kB / 0.8414 GB, free: 24 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.185, allocations: 83.28 kB / 0.8415 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.185, allocations: 4 kB / 0.8415 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002273/0.1852, allocations: 8 kB / 0.8415 GB, free: 15.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001471/0.1854, allocations: 103.2 kB / 0.8416 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1855, allocations: 47.78 kB / 0.8416 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1855, allocations: 4 kB / 0.8416 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.1855, allocations: 12.25 kB / 0.8417 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1858, allocations: 13.09 kB / 0.8417 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.1864, allocations: 364.5 kB / 0.842 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1868, allocations: 0.6846 MB / 0.8427 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.1868, allocations: 11.44 kB / 0.8427 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.1868, allocations: 3.938 kB / 0.8427 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.002197/0.189, allocations: 0.7735 MB / 0.8435 GB, free: 13.86 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.909788042074069] Failed to read output from testmodel.py, exit status != 0: 0.19635911798104644 0.21105984300000002 0.027269077000000003 Calling exit ...