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.001056/0.001056, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 196 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 286.6 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.922/0.922, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 95.64 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1473, allocations: 86.99 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002596/0.1499, allocations: 1.256 MB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1538, allocations: 3.257 MB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.1539, allocations: 0 / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.1539, allocations: 0 / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.154, allocations: 15.91 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.1545, allocations: 99.55 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.1546, allocations: 39.84 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1546, allocations: 0 / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.1547, allocations: 19.92 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.1548, allocations: 15.98 kB / 0.6848 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1548, allocations: 4 kB / 0.6848 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.155, allocations: 83.73 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1551, allocations: 11.92 kB / 0.6849 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.1551, allocations: 8 kB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1553, allocations: 72.06 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1553, allocations: 4 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1553, allocations: 0 / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1553, allocations: 0 / 0.6849 GB, free: 11.82 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.0004232/0.1558, allocations: 343.5 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1558, allocations: 15.97 kB / 0.6853 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.1559, allocations: 12.83 kB / 0.6853 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.156, allocations: 160.4 kB / 0.6854 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.156, allocations: 4.375 kB / 0.6854 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1561, allocations: 12.36 kB / 0.6855 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1562, allocations: 61.73 kB / 0.6855 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1562, allocations: 0 / 0.6855 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1562, allocations: 4 kB / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1562, allocations: 0 / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.1563, allocations: 11.98 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1564, allocations: 169.6 kB / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.1565, allocations: 50.56 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.1566, allocations: 24.84 kB / 0.6858 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000653/0.1572, allocations: 0.5867 MB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1573, allocations: 46.5 kB / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1573, allocations: 0 / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005738/0.1579, allocations: 302.5 kB / 0.6867 GB, free: 9.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1579, allocations: 51.41 kB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.158, allocations: 101.8 kB / 0.6868 GB, free: 9.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.158, allocations: 29.7 kB / 0.6868 GB, free: 9.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.158, allocations: 84.05 kB / 0.6869 GB, free: 9.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1581, allocations: 31.55 kB / 0.687 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1581, allocations: 25.72 kB / 0.687 GB, free: 9.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1582, allocations: 322.8 kB / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.1583, allocations: 12 kB / 0.6873 GB, free: 9.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.1583, allocations: 61.02 kB / 0.6874 GB, free: 8.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.1584, allocations: 73.08 kB / 0.6874 GB, free: 8.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1584, allocations: 4 kB / 0.6874 GB, free: 8.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.1586, allocations: 85.56 kB / 0.6875 GB, free: 8.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1586, allocations: 7.984 kB / 0.6875 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1586, allocations: 4 kB / 0.6875 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1586, allocations: 0 / 0.6875 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1587, allocations: 20 kB / 0.6875 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1587, allocations: 12.06 kB / 0.6876 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.1588, allocations: 3.938 kB / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1588, allocations: 4.281 kB / 0.6876 GB, free: 8.711 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 8.03e-05/0.1589, allocations: 119.1 kB / 0.6877 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1589, allocations: 7.906 kB / 0.6877 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.1589, allocations: 11.95 kB / 0.6877 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1589, allocations: 0 / 0.6877 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1589, allocations: 0 / 0.6877 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.159, allocations: 3.938 kB / 0.6877 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1592, allocations: 177.7 kB / 0.6879 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1592, allocations: 0 / 0.6879 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.36e-05/0.1593, allocations: 19.98 kB / 0.6879 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1593, allocations: 3.938 kB / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1593, allocations: 448 / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1593, allocations: 80 / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1593, allocations: 3.984 kB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1595, allocations: 171.5 kB / 0.6881 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1596, allocations: 89.05 kB / 0.6881 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1596, allocations: 8 kB / 0.6881 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1597, allocations: 4 kB / 0.6882 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.1597, allocations: 11.92 kB / 0.6882 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1597, allocations: 3.938 kB / 0.6882 GB, free: 8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.1598, allocations: 79.28 kB / 0.6882 GB, free: 7.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1598, allocations: 0 / 0.6882 GB, free: 7.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.16, allocations: 16 kB / 0.6883 GB, free: 7.906 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.0001376/0.1602, allocations: 111.2 kB / 0.6884 GB, free: 7.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1603, allocations: 47.86 kB / 0.6884 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1603, allocations: 0 / 0.6884 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.1603, allocations: 16 kB / 0.6884 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1606, allocations: 8 kB / 0.6884 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.1612, allocations: 314.6 kB / 0.6887 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1615, allocations: 0.6962 MB / 0.6894 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.1615, allocations: 3.984 kB / 0.6894 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.1615, allocations: 15.44 kB / 0.6894 GB, free: 6.641 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1615, allocations: 0 / 0.6894 GB, free: 6.641 MB / 494.1 MB Notification: Performance of Templates: time 0.002727/0.1643, allocations: 0.6152 MB / 0.69 GB, free: 6.027 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)