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.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.001437/0.001437, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8 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.002465/0.002465, allocations: 295.6 kB / 313.5 MB, free: 2.629 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.221/1.221, 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.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.002894/0.002894, allocations: 113.8 kB / 0.7407 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1704, allocations: 95.38 MB / 0.8338 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002302/0.1727, allocations: 1.277 MB / 0.8351 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.1764, allocations: 3.077 MB / 0.8381 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.1765, allocations: 4 kB / 0.8381 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.1765, allocations: 3.938 kB / 0.8381 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.1765, allocations: 7.969 kB / 0.8381 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.177, allocations: 103.5 kB / 0.8382 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.1771, allocations: 35.92 kB / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.1771, allocations: 0 / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.1772, allocations: 27.91 kB / 0.8383 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.1773, allocations: 15.92 kB / 0.8383 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1773, allocations: 4 kB / 0.8383 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1775, allocations: 71.75 kB / 0.8384 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1775, allocations: 4 kB / 0.8384 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1775, allocations: 15.92 kB / 0.8384 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1777, allocations: 63.86 kB / 0.8384 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1777, allocations: 0 / 0.8384 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1777, allocations: 0 / 0.8384 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1777, allocations: 0 / 0.8384 GB, free: 3.105 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.000388/0.1781, allocations: 274.2 kB / 0.8387 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1781, allocations: 13.94 kB / 0.8387 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.1782, allocations: 8.938 kB / 0.8387 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/0.1783, allocations: 114.4 kB / 0.8388 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1783, allocations: 384 / 0.8388 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1783, allocations: 12.36 kB / 0.8388 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1785, allocations: 134.8 kB / 0.839 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1785, allocations: 3.938 kB / 0.839 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1785, allocations: 0 / 0.839 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1786, allocations: 4 kB / 0.839 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.1786, allocations: 19.97 kB / 0.839 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1788, allocations: 113.3 kB / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1789, allocations: 50.5 kB / 0.8391 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.1789, allocations: 20.84 kB / 0.8392 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005324/0.1794, allocations: 237.9 kB / 0.8394 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1795, allocations: 34.56 kB / 0.8394 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1795, allocations: 0 / 0.8394 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005321/0.18, allocations: 229.5 kB / 0.8396 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.18, allocations: 59.39 kB / 0.8397 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.1801, allocations: 97.86 kB / 0.8398 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1801, allocations: 29.7 kB / 0.8398 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1802, allocations: 88.09 kB / 0.8399 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1802, allocations: 31.73 kB / 0.8399 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1802, allocations: 21.72 kB / 0.84 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1804, allocations: 326.8 kB / 0.8403 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.073e-05/0.1804, allocations: 19.88 kB / 0.8403 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.1805, allocations: 49.14 kB / 0.8403 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.1806, allocations: 77.08 kB / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1806, allocations: 4 kB / 0.8404 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001417/0.1807, allocations: 97.5 kB / 0.8405 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1807, allocations: 5.719 kB / 0.8405 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1807, allocations: 4 kB / 0.8405 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1808, allocations: 0 / 0.8405 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.1808, allocations: 19.94 kB / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1808, allocations: 7.984 kB / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.1809, allocations: 0 / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1809, allocations: 8.406 kB / 0.8406 GB, free: 0.6641 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 8.478e-05/0.181, allocations: 118.4 kB / 0.8407 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.181, allocations: 4 kB / 0.8407 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.181, allocations: 12.05 kB / 0.8407 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.181, allocations: 0 / 0.8407 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.181, allocations: 4 kB / 0.8407 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.181, allocations: 0 / 0.8407 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1812, allocations: 121.2 kB / 0.8408 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1812, allocations: 7.984 kB / 0.8408 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.1813, allocations: 15.94 kB / 0.8408 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1813, allocations: 4 kB / 0.8408 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1813, allocations: 0 / 0.8408 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1813, allocations: 3.938 kB / 0.8408 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1813, allocations: 0 / 0.8408 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1815, allocations: 179.4 kB / 0.841 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.1815, allocations: 4.438 kB / 0.841 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1816, allocations: 4.031 kB / 0.841 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1817, allocations: 8 kB / 0.841 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1817, allocations: 4 kB / 0.841 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1817, allocations: 11.92 kB / 0.841 GB, free: 120 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.1817, allocations: 75.28 kB / 0.8411 GB, free: 44 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1817, allocations: 7.938 kB / 0.8411 GB, free: 36 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002285/0.182, allocations: 16 kB / 0.8411 GB, free: 20 kB / 0.5762 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.000127/0.1821, allocations: 99.25 kB / 0.8412 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1822, allocations: 39.86 kB / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1822, allocations: 0 / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.1822, allocations: 23.92 kB / 0.8413 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1825, allocations: 8.25 kB / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.1831, allocations: 360.5 kB / 0.8416 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.1831, allocations: 71.33 kB / 0.8417 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1832, allocations: 11.44 kB / 0.8417 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1832, allocations: 0 / 0.8417 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.00217/0.1853, allocations: 0.7889 MB / 0.8425 GB, free: 14.57 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.971244833897799] Failed to read output from testmodel.py, exit status != 0: 0.19247063202783465 0.20706154999999996 0.026476200000000002 Calling exit ...