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.001646/0.001646, 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.001724/0.001724, allocations: 210.2 kB / 22.24 MB, free: 5.258 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.805 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.002599/0.002599, allocations: 287.8 kB / 312.7 MB, free: 2.617 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.292/1.292, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.003016/0.003016, allocations: 97.77 kB / 0.7399 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1684, allocations: 95.39 MB / 0.8331 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002527/0.1709, allocations: 1.28 MB / 0.8343 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004037/0.175, allocations: 3.092 MB / 0.8374 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.175, allocations: 0 / 0.8374 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.175, allocations: 0 / 0.8374 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.1751, allocations: 3.938 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1756, allocations: 107.5 kB / 0.8375 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.1757, allocations: 47.83 kB / 0.8375 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.1757, allocations: 0 / 0.8375 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.1758, allocations: 16 kB / 0.8375 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.1758, allocations: 15.91 kB / 0.8375 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1759, allocations: 4 kB / 0.8376 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.1761, allocations: 71.75 kB / 0.8376 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.1761, allocations: 8 kB / 0.8376 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.1761, allocations: 19.91 kB / 0.8376 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1763, allocations: 63.8 kB / 0.8377 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1763, allocations: 0 / 0.8377 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1763, allocations: 4 kB / 0.8377 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1763, allocations: 0 / 0.8377 GB, free: 3.051 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.0004552/0.1768, allocations: 270.3 kB / 0.838 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1768, allocations: 9.938 kB / 0.838 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.1769, allocations: 8.922 kB / 0.838 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.58e-05/0.177, allocations: 114.4 kB / 0.8381 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.177, allocations: 384 / 0.8381 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.177, allocations: 8.375 kB / 0.8381 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1772, allocations: 134.8 kB / 0.8382 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1772, allocations: 0 / 0.8382 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1772, allocations: 8 kB / 0.8382 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1772, allocations: 4 kB / 0.8382 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.1773, allocations: 11.98 kB / 0.8383 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.1774, allocations: 113.3 kB / 0.8384 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1775, allocations: 42.56 kB / 0.8384 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.1775, allocations: 24.78 kB / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/0.1781, allocations: 242.1 kB / 0.8387 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1781, allocations: 34.56 kB / 0.8387 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1781, allocations: 0 / 0.8387 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005295/0.1786, allocations: 221.2 kB / 0.8389 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1787, allocations: 59.34 kB / 0.839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.1788, allocations: 101.8 kB / 0.8391 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1788, allocations: 33.64 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.1788, allocations: 84.09 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1789, allocations: 31.73 kB / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1789, allocations: 25.72 kB / 0.8392 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1791, allocations: 322.8 kB / 0.8395 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.1791, allocations: 12 kB / 0.8395 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.1792, allocations: 53.08 kB / 0.8396 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1793, allocations: 81.27 kB / 0.8397 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1793, allocations: 4 kB / 0.8397 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001808/0.1795, allocations: 93.5 kB / 0.8398 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1795, allocations: 7.984 kB / 0.8398 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1795, allocations: 4 kB / 0.8398 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1795, allocations: 4.125 kB / 0.8398 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.1796, allocations: 19.94 kB / 0.8398 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1796, allocations: 4 kB / 0.8398 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.1796, allocations: 4.438 kB / 0.8398 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1796, allocations: 4 kB / 0.8398 GB, free: 0.6289 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 0.0001122/0.1797, allocations: 122.4 kB / 0.8399 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1798, allocations: 4 kB / 0.8399 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.1798, allocations: 8.062 kB / 0.8399 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1798, allocations: 0 / 0.8399 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1798, allocations: 8 kB / 0.8399 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1798, allocations: 4 kB / 0.84 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.18, allocations: 121.3 kB / 0.8401 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.18, allocations: 4 kB / 0.8401 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.1801, allocations: 19.92 kB / 0.8401 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1801, allocations: 0 / 0.8401 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1801, allocations: 0 / 0.8401 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1801, allocations: 0 / 0.8401 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1801, allocations: 4.016 kB / 0.8401 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.1804, allocations: 179.4 kB / 0.8403 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.1804, allocations: 8 kB / 0.8403 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1804, allocations: 0 / 0.8403 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1805, allocations: 12.03 kB / 0.8403 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1805, allocations: 0 / 0.8403 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1805, allocations: 4 kB / 0.8403 GB, free: 88 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001074/0.1806, allocations: 87.2 kB / 0.8404 GB, free: 0 / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1806, allocations: 0 / 0.8404 GB, free: 0 / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002597/0.1809, allocations: 12.16 kB / 0.8404 GB, free: 15.98 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.0001204/0.181, allocations: 103.2 kB / 0.8405 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1811, allocations: 47.98 kB / 0.8405 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1811, allocations: 0 / 0.8405 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.1812, allocations: 16 kB / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1815, allocations: 11.98 kB / 0.8406 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.1821, allocations: 330.9 kB / 0.8409 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.1821, allocations: 71.28 kB / 0.8409 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.499e-05/0.1822, allocations: 8 kB / 0.8409 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.1822, allocations: 11.44 kB / 0.841 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1822, allocations: 0 / 0.841 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.003325/0.1855, allocations: 0.6563 MB / 0.8416 GB, free: 14.7 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: 6.27026405185461] Failed to read output from testmodel.py, exit status != 0: 0.1926740687340498 0.20860244300000003 0.029114108000000003 Calling exit ...