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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008039/0.008039, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 266.6 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9843/0.9843, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005879/0.0005879, allocations: 13.72 kB / 0.5986 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1735, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001111/0.1746, allocations: 0.9823 MB / 0.6861 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.1778, allocations: 3.198 MB / 0.6892 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.1778, allocations: 0.75 kB / 0.6892 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1778, allocations: 0 / 0.6892 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.1779, allocations: 5.719 kB / 0.6892 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1782, allocations: 91.61 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.1783, allocations: 44.45 kB / 0.6893 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.1783, allocations: 0 / 0.6893 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.1784, allocations: 18.41 kB / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.1784, allocations: 15.97 kB / 0.6894 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1785, allocations: 4 kB / 0.6894 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1787, allocations: 71.81 kB / 0.6894 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.1787, allocations: 15.91 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1787, allocations: 33.7 kB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1789, allocations: 82.06 kB / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1789, allocations: 0 / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1789, allocations: 0 / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1789, allocations: 0 / 0.6896 GB, free: 10.5 MB / 494.1 MB 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.0003087/0.1792, allocations: 336.2 kB / 0.6899 GB, free: 10.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1793, allocations: 12.75 kB / 0.6899 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.1794, allocations: 12.78 kB / 0.6899 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.975e-05/0.1795, allocations: 165.2 kB / 0.6901 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1795, allocations: 384 / 0.6901 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1795, allocations: 9 kB / 0.6901 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1796, allocations: 55.11 kB / 0.6901 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1796, allocations: 0 / 0.6901 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1797, allocations: 7.938 kB / 0.6901 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1797, allocations: 0 / 0.6901 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.1797, allocations: 16.73 kB / 0.6901 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1799, allocations: 169.7 kB / 0.6903 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.18, allocations: 62.55 kB / 0.6904 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.18, allocations: 12.86 kB / 0.6904 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/0.1806, allocations: 0.6023 MB / 0.691 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1807, allocations: 34.56 kB / 0.691 GB, free: 8.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1807, allocations: 0 / 0.691 GB, free: 8.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004917/0.1812, allocations: 302.2 kB / 0.6913 GB, free: 8.414 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1812, allocations: 55.41 kB / 0.6913 GB, free: 8.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.1813, allocations: 98.08 kB / 0.6914 GB, free: 8.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1813, allocations: 29.7 kB / 0.6915 GB, free: 8.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.1814, allocations: 88.03 kB / 0.6915 GB, free: 8.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1814, allocations: 31.56 kB / 0.6916 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.1814, allocations: 21.7 kB / 0.6916 GB, free: 8.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1815, allocations: 314.8 kB / 0.6919 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.1816, allocations: 15.98 kB / 0.6919 GB, free: 7.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.1816, allocations: 57.08 kB / 0.692 GB, free: 7.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.1817, allocations: 77.03 kB / 0.692 GB, free: 7.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1817, allocations: 0 / 0.692 GB, free: 7.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001266/0.1818, allocations: 89.55 kB / 0.6921 GB, free: 7.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1819, allocations: 4 kB / 0.6921 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1819, allocations: 8.125 kB / 0.6921 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1819, allocations: 0 / 0.6921 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.182, allocations: 19.98 kB / 0.6922 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.182, allocations: 7.938 kB / 0.6922 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.182, allocations: 7.938 kB / 0.6922 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.182, allocations: 4 kB / 0.6922 GB, free: 7.414 MB / 494.1 MB 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 7.212e-05/0.1821, allocations: 115.2 kB / 0.6923 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1821, allocations: 4 kB / 0.6923 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.1822, allocations: 7.969 kB / 0.6923 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1822, allocations: 4 kB / 0.6923 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1822, allocations: 3.984 kB / 0.6923 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1822, allocations: 7.938 kB / 0.6923 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.1824, allocations: 165.7 kB / 0.6925 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1824, allocations: 4 kB / 0.6925 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.1825, allocations: 16 kB / 0.6925 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1825, allocations: 0 / 0.6925 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1825, allocations: 0 / 0.6925 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1825, allocations: 4.375 kB / 0.6925 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1826, allocations: 4 kB / 0.6925 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1827, allocations: 179.4 kB / 0.6927 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1828, allocations: 93.36 kB / 0.6928 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1828, allocations: 4 kB / 0.6928 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1829, allocations: 4 kB / 0.6928 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.1829, allocations: 4 kB / 0.6928 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1829, allocations: 7.922 kB / 0.6928 GB, free: 6.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.183, allocations: 83.27 kB / 0.6929 GB, free: 6.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.183, allocations: 4 kB / 0.6929 GB, free: 6.625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1832, allocations: 16 kB / 0.6929 GB, free: 6.609 MB / 494.1 MB 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.0001092/0.1833, allocations: 99.19 kB / 0.693 GB, free: 6.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1835, allocations: 43.92 kB / 0.693 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1835, allocations: 0 / 0.693 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.1835, allocations: 23.92 kB / 0.693 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1838, allocations: 8.25 kB / 0.693 GB, free: 6.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.1844, allocations: 382.7 kB / 0.6934 GB, free: 6.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1846, allocations: 0.6809 MB / 0.6941 GB, free: 5.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.1847, allocations: 11.98 kB / 0.6941 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.1847, allocations: 11.44 kB / 0.6941 GB, free: 5.293 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1847, allocations: 0 / 0.6941 GB, free: 5.293 MB / 494.1 MB Notification: Performance of Templates: time 0.002554/0.1872, allocations: 0.601 MB / 0.6947 GB, free: 4.695 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (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)