Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.599/1.599, allocations: 288.4 MB / 304.3 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009418/0.0009419, allocations: 172.6 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 0.6316 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007394/0.0007394, allocations: 97.06 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 11.41 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1684, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001018/0.1694, allocations: 0.9862 MB / 0.9817 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1721, allocations: 3.042 MB / 0.9846 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.1721, allocations: 4 kB / 0.9846 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1722, allocations: 3.984 kB / 0.9847 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.1722, allocations: 7.922 kB / 0.9847 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.1726, allocations: 95.61 kB / 0.9848 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.1727, allocations: 27.92 kB / 0.9848 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.059e-05/0.1727, allocations: 0 / 0.9848 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.1728, allocations: 23.92 kB / 0.9848 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1728, allocations: 19.91 kB / 0.9848 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1728, allocations: 8 kB / 0.9848 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.173, allocations: 63.81 kB / 0.9849 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1731, allocations: 11.92 kB / 0.9849 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.1731, allocations: 41.62 kB / 0.9849 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1732, allocations: 52.11 kB / 0.985 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1732, allocations: 0 / 0.985 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1732, allocations: 0 / 0.985 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1732, allocations: 0 / 0.985 GB, free: 22.98 MB / 0.6198 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.0002559/0.1735, allocations: 335.4 kB / 0.9853 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1735, allocations: 12.03 kB / 0.9853 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.1736, allocations: 4.938 kB / 0.9853 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.662e-05/0.1737, allocations: 168.3 kB / 0.9855 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.1737, allocations: 4.375 kB / 0.9855 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1737, allocations: 8.375 kB / 0.9855 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1738, allocations: 57.73 kB / 0.9856 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1739, allocations: 0 / 0.9856 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1739, allocations: 7.984 kB / 0.9856 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1739, allocations: 0 / 0.9856 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.1739, allocations: 19.98 kB / 0.9856 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.174, allocations: 165.7 kB / 0.9857 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.1741, allocations: 50.5 kB / 0.9858 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.1742, allocations: 20.84 kB / 0.9858 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.1747, allocations: 0.5948 MB / 0.9864 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.1747, allocations: 38.56 kB / 0.9864 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1747, allocations: 0 / 0.9864 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004467/0.1752, allocations: 294.2 kB / 0.9867 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/0.1752, allocations: 51.41 kB / 0.9868 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.1752, allocations: 101.8 kB / 0.9869 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.1752, allocations: 29.7 kB / 0.9869 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.1753, allocations: 88.05 kB / 0.987 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.1753, allocations: 35.48 kB / 0.987 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.1753, allocations: 4 kB / 0.987 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.1753, allocations: 314.8 kB / 0.9873 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.1754, allocations: 15.98 kB / 0.9873 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.1754, allocations: 57.45 kB / 0.9874 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.1755, allocations: 73.09 kB / 0.9874 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1755, allocations: 0 / 0.9874 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000123/0.1756, allocations: 97.64 kB / 0.9875 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1756, allocations: 4 kB / 0.9875 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1756, allocations: 0 / 0.9875 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1757, allocations: 4 kB / 0.9875 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.1757, allocations: 27.92 kB / 0.9876 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1758, allocations: 4 kB / 0.9876 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.1758, allocations: 7.938 kB / 0.9876 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1758, allocations: 7.938 kB / 0.9876 GB, free: 19.91 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.1759, allocations: 119.4 kB / 0.9877 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1759, allocations: 7.938 kB / 0.9877 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.1759, allocations: 11.97 kB / 0.9877 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1759, allocations: 4.266 kB / 0.9877 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1759, allocations: 0 / 0.9877 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.176, allocations: 77.11 kB / 0.9878 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.176, allocations: 7.938 kB / 0.9878 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1761, allocations: 7.969 kB / 0.9878 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.1761, allocations: 11.94 kB / 0.9878 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001259/0.1763, allocations: 145 kB / 0.988 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001386/0.1764, allocations: 254.7 kB / 0.9882 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.796e-05/0.1764, allocations: 24.19 kB / 0.9882 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.423e-05/0.1765, allocations: 79.28 kB / 0.9883 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of Backend: time 3.3e-07/0.1765, allocations: 0 / 0.9883 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1768, allocations: 137.5 kB / 0.9884 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004698/0.1773, allocations: 0.8289 MB / 0.9892 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.002735/0.1801, allocations: 0.9482 MB / 0.9902 GB, free: 17.16 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)