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.001002/0.001006, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001089/0.001089, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 278.3 kB / 291.4 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006675/0.0006675, allocations: 12.59 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1634, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.00112/0.1646, allocations: 0.9747 MB / 0.6854 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1677, allocations: 3.045 MB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.1678, allocations: 0 / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1678, allocations: 4 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.1678, allocations: 3.938 kB / 0.6884 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1682, allocations: 85.95 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.1683, allocations: 27.92 kB / 0.6885 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1683, allocations: 7.984 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.1684, allocations: 15.92 kB / 0.6885 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.1684, allocations: 20.42 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1685, allocations: 4.734 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1687, allocations: 52.52 kB / 0.6886 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.1687, allocations: 15.91 kB / 0.6886 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1687, allocations: 31.64 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1688, allocations: 36.17 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1688, allocations: 0 / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1689, allocations: 3.938 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1689, allocations: 0 / 0.6887 GB, free: 11.12 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.000329/0.1692, allocations: 338 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1692, allocations: 8.031 kB / 0.689 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.1693, allocations: 11.86 kB / 0.689 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.1694, allocations: 171 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1694, allocations: 4 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1695, allocations: 4.781 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1696, allocations: 53.67 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.1696, allocations: 1.719 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1696, allocations: 0 / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1696, allocations: 0 / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.1697, allocations: 23.94 kB / 0.6893 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1698, allocations: 158.5 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.1699, allocations: 55.61 kB / 0.6895 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.17, allocations: 16.86 kB / 0.6895 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.1706, allocations: 0.6002 MB / 0.6901 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1707, allocations: 38.52 kB / 0.6901 GB, free: 9.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1707, allocations: 3.938 kB / 0.6901 GB, free: 9.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005282/0.1712, allocations: 298.2 kB / 0.6904 GB, free: 9.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1712, allocations: 55.34 kB / 0.6905 GB, free: 8.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.1713, allocations: 102 kB / 0.6906 GB, free: 8.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1713, allocations: 29.7 kB / 0.6906 GB, free: 8.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.1714, allocations: 84.05 kB / 0.6907 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1714, allocations: 31.62 kB / 0.6907 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.1714, allocations: 4 kB / 0.6907 GB, free: 8.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.1715, allocations: 318.8 kB / 0.691 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.1715, allocations: 12 kB / 0.691 GB, free: 8.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.1716, allocations: 57.14 kB / 0.6911 GB, free: 8.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.1717, allocations: 16.03 kB / 0.6911 GB, free: 8.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1717, allocations: 0 / 0.6911 GB, free: 8.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001347/0.1718, allocations: 101.5 kB / 0.6912 GB, free: 8.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1718, allocations: 4 kB / 0.6912 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1718, allocations: 0 / 0.6912 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1719, allocations: 12.11 kB / 0.6912 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.1719, allocations: 19.94 kB / 0.6912 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1719, allocations: 4 kB / 0.6912 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.172, allocations: 448 / 0.6912 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.172, allocations: 4 kB / 0.6912 GB, free: 8.145 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.1721, allocations: 118.4 kB / 0.6913 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1721, allocations: 7.938 kB / 0.6914 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.1721, allocations: 15.91 kB / 0.6914 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1722, allocations: 0 / 0.6914 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1722, allocations: 8 kB / 0.6914 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1722, allocations: 0 / 0.6914 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1724, allocations: 173.7 kB / 0.6915 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1724, allocations: 0 / 0.6915 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.1725, allocations: 16 kB / 0.6916 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1725, allocations: 7.922 kB / 0.6916 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1725, allocations: 3.953 kB / 0.6916 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1725, allocations: 0 / 0.6916 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1725, allocations: 0 / 0.6916 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1727, allocations: 171.4 kB / 0.6917 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1728, allocations: 85.14 kB / 0.6918 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1728, allocations: 4 kB / 0.6918 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1729, allocations: 7.953 kB / 0.6918 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.1729, allocations: 3.984 kB / 0.6918 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1729, allocations: 4 kB / 0.6918 GB, free: 7.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.173, allocations: 83.28 kB / 0.6919 GB, free: 7.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.173, allocations: 0 / 0.6919 GB, free: 7.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1732, allocations: 8 kB / 0.6919 GB, free: 7.352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001038/0.1733, allocations: 111.2 kB / 0.692 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1734, allocations: 40.48 kB / 0.6921 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1735, allocations: 0 / 0.6921 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.1735, allocations: 23.92 kB / 0.6921 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.1738, allocations: 8 kB / 0.6921 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.1743, allocations: 390.6 kB / 0.6925 GB, free: 6.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1745, allocations: 0.6848 MB / 0.6931 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.1746, allocations: 4 kB / 0.6931 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1746, allocations: 11.44 kB / 0.6931 GB, free: 6.023 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1746, allocations: 0 / 0.6931 GB, free: 6.023 MB / 494.1 MB Notification: Performance of Templates: time 0.002544/0.1772, allocations: 0.5843 MB / 0.6937 GB, free: 5.441 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)