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.001018/0.001018, allocations: 115.7 kB / 16.37 MB, free: 6.012 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.001014/0.001014, allocations: 193.8 kB / 17.31 MB, free: 5.613 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 291.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8827/0.8827, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 90.3 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1445, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002175/0.1467, allocations: 1.257 MB / 0.6828 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.1501, allocations: 3.261 MB / 0.686 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.1501, allocations: 0 / 0.686 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1502, allocations: 0 / 0.686 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.1502, allocations: 3.938 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.1507, allocations: 111.5 kB / 0.6861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.1507, allocations: 39.84 kB / 0.6862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.1508, allocations: 8 kB / 0.6862 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.1508, allocations: 15.92 kB / 0.6862 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.1509, allocations: 19.91 kB / 0.6862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.1509, allocations: 4 kB / 0.6862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1511, allocations: 71.81 kB / 0.6863 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.1511, allocations: 11.98 kB / 0.6863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.1512, allocations: 23.92 kB / 0.6863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1513, allocations: 63.8 kB / 0.6864 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1513, allocations: 4 kB / 0.6864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1513, allocations: 4 kB / 0.6864 GB, free: 2.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1514, allocations: 3.938 kB / 0.6864 GB, free: 2.516 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.0003255/0.1517, allocations: 343.5 kB / 0.6867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1517, allocations: 8.031 kB / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.1518, allocations: 8.844 kB / 0.6867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.1519, allocations: 164.4 kB / 0.6869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1519, allocations: 12.36 kB / 0.6869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.152, allocations: 4.375 kB / 0.6869 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1521, allocations: 61.78 kB / 0.687 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1521, allocations: 3.984 kB / 0.687 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1521, allocations: 0 / 0.687 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1521, allocations: 0 / 0.687 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.1522, allocations: 23.92 kB / 0.687 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1523, allocations: 157.7 kB / 0.6871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.1524, allocations: 58.61 kB / 0.6872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.1524, allocations: 16.86 kB / 0.6872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/0.1531, allocations: 0.5907 MB / 0.6878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1531, allocations: 34.55 kB / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1531, allocations: 0 / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004987/0.1536, allocations: 310.8 kB / 0.6881 GB, free: 432 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1537, allocations: 51.41 kB / 0.6882 GB, free: 368 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.1537, allocations: 101.8 kB / 0.6883 GB, free: 256 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1537, allocations: 33.58 kB / 0.6883 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1538, allocations: 92.03 kB / 0.6884 GB, free: 120 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.1538, allocations: 27.56 kB / 0.6884 GB, free: 92 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1538, allocations: 25.7 kB / 0.6884 GB, free: 60 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2285/0.3823, allocations: 323 kB / 0.6887 GB, free: 18.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.3824, allocations: 8.953 kB / 0.6887 GB, free: 18.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/0.3824, allocations: 52.31 kB / 0.6888 GB, free: 18.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.3825, allocations: 72.72 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3825, allocations: 1.656 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001476/0.3827, allocations: 93.61 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3827, allocations: 6.109 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3827, allocations: 2.344 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3827, allocations: 1.562 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.3828, allocations: 26.17 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3828, allocations: 6.266 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.3829, allocations: 1.312 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3829, allocations: 4.844 kB / 0.689 GB, free: 18.36 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 5.553e-05/0.383, allocations: 117.6 kB / 0.6891 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.383, allocations: 4.359 kB / 0.6891 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.383, allocations: 9.641 kB / 0.6891 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.383, allocations: 6.5 kB / 0.6891 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3831, allocations: 3.938 kB / 0.6891 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3831, allocations: 0.9688 kB / 0.6891 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3833, allocations: 172.6 kB / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3833, allocations: 1.578 kB / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.3834, allocations: 15.03 kB / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3834, allocations: 1.578 kB / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3834, allocations: 1.719 kB / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3834, allocations: 0 / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3834, allocations: 11.09 kB / 0.6893 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3835, allocations: 177.7 kB / 0.6895 GB, free: 17.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.3836, allocations: 82.38 kB / 0.6896 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3836, allocations: 5.094 kB / 0.6896 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3837, allocations: 7.531 kB / 0.6896 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.3837, allocations: 8.141 kB / 0.6896 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3838, allocations: 4.75 kB / 0.6896 GB, free: 17.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.3838, allocations: 80.02 kB / 0.6897 GB, free: 17.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3838, allocations: 0 / 0.6897 GB, free: 17.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000238/0.384, allocations: 13.84 kB / 0.6897 GB, free: 17.73 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.0001078/0.3841, allocations: 106.8 kB / 0.6898 GB, free: 17.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3843, allocations: 42.05 kB / 0.6898 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3843, allocations: 1.531 kB / 0.6898 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.3843, allocations: 18.09 kB / 0.6898 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3846, allocations: 6.906 kB / 0.6899 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.385, allocations: 324.6 kB / 0.6902 GB, free: 17.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.3851, allocations: 0.6871 MB / 0.6908 GB, free: 16.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.3852, allocations: 4.812 kB / 0.6908 GB, free: 16.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.3852, allocations: 10.53 kB / 0.6909 GB, free: 16.76 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3852, allocations: 4.719 kB / 0.6909 GB, free: 16.75 MB / 494.1 MB Notification: Performance of Templates: time 0.002474/0.3877, allocations: 0.6158 MB / 0.6915 GB, free: 16.7 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)