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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006689/0.0006689, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008706/0.00154, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006861/0.0006861, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008844/0.001571, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9804/0.9804, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08402/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001455/0.001455, allocations: 222.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.002539, allocations: 491.5 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7097/0.7097, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07534/0.7851, allocations: 42.41 MB / 426.7 MB, free: 5.836 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 4 kB / 428 MB, free: 4.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/2.01e-05, allocations: 2.312 kB / 428 MB, free: 4.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.00178/0.0018, allocations: 1.364 MB / 429.4 MB, free: 3.156 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1811/0.1829, allocations: 3.367 MB / 432.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.1829, allocations: 0 / 432.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.183, allocations: 4.531 kB / 432.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.183, allocations: 8.234 kB / 432.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.1834, allocations: 107.9 kB / 432.9 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.693e-05/0.1835, allocations: 37.92 kB / 432.9 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.1835, allocations: 7.875 kB / 432.9 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.1836, allocations: 26.98 kB / 432.9 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.1837, allocations: 14.39 kB / 433 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1837, allocations: 2.281 kB / 433 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1839, allocations: 71.47 kB / 433 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1839, allocations: 5.547 kB / 433 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.1839, allocations: 9.875 kB / 433 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1841, allocations: 63.34 kB / 433.1 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.1841, allocations: 0 / 433.1 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1841, allocations: 0 / 433.1 MB, free: 1.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1841, allocations: 5 kB / 433.1 MB, free: 1.191 MB / 410.7 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.0003604/0.1845, allocations: 259.3 kB / 433.4 MB, free: 16.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1845, allocations: 12.34 kB / 433.4 MB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1847, allocations: 94.27 kB / 433.5 MB, free: 16.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.879e-05/0.1847, allocations: 110.7 kB / 433.6 MB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.1847, allocations: 2.625 kB / 433.6 MB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1848, allocations: 9.734 kB / 433.6 MB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1849, allocations: 122.3 kB / 433.7 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1849, allocations: 1.406 kB / 433.7 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1849, allocations: 6.125 kB / 433.7 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1849, allocations: 4.641 kB / 433.7 MB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.1849, allocations: 13.19 kB / 433.7 MB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.037e-05/0.185, allocations: 68.16 kB / 433.8 MB, free: 16.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.1851, allocations: 44.83 kB / 433.8 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.1851, allocations: 12.59 kB / 433.9 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.1854, allocations: 215.9 kB / 434.1 MB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1855, allocations: 40.69 kB / 434.1 MB, free: 16.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1855, allocations: 0 / 434.1 MB, free: 16.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004275/0.1859, allocations: 238.8 kB / 434.3 MB, free: 16.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.1859, allocations: 58.83 kB / 434.4 MB, free: 16.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.186, allocations: 107.3 kB / 434.5 MB, free: 16.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.186, allocations: 26.58 kB / 434.5 MB, free: 15.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.186, allocations: 88.16 kB / 434.6 MB, free: 15.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.186, allocations: 29.2 kB / 434.6 MB, free: 15.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1861, allocations: 29.8 kB / 434.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.1861, allocations: 319.5 kB / 435 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.1861, allocations: 7.156 kB / 435 MB, free: 15.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.1862, allocations: 48.38 kB / 435 MB, free: 15.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.1862, allocations: 69.83 kB / 435.1 MB, free: 15.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1862, allocations: 3.094 kB / 435.1 MB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.394e-05/0.1863, allocations: 80.95 kB / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1863, allocations: 8.531 kB / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1863, allocations: 0 / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1863, allocations: 1.812 kB / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.1864, allocations: 24 kB / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1864, allocations: 5.047 kB / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.1864, allocations: 7.031 kB / 435.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1864, allocations: 4.062 kB / 435.2 MB, free: 15.41 MB / 426.7 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.109e-05/0.1865, allocations: 114 kB / 435.3 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1865, allocations: 11.11 kB / 435.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.1865, allocations: 9.094 kB / 435.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1865, allocations: 2.812 kB / 435.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1865, allocations: 1.062 kB / 435.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1865, allocations: 0 / 435.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1867, allocations: 80.41 kB / 435.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1867, allocations: 0.625 kB / 435.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.1867, allocations: 25.55 kB / 435.5 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.1867, allocations: 7.953 kB / 435.5 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1867, allocations: 8.094 kB / 435.5 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.1868, allocations: 2.406 kB / 435.5 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1868, allocations: 1.625 kB / 435.5 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1868, allocations: 0.5156 kB / 435.5 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1869, allocations: 160.1 kB / 435.6 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.1869, allocations: 7.203 kB / 435.7 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.1869, allocations: 0.6094 kB / 435.7 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.1869, allocations: 7.766 kB / 435.7 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.187, allocations: 4.594 kB / 435.7 MB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.376e-06/0.187, allocations: 9.156 kB / 435.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.187, allocations: 0 / 435.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.1872, allocations: 12.25 kB / 435.7 MB, free: 15.07 MB / 426.7 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 9.553e-05/0.1872, allocations: 84.75 kB / 435.8 MB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.1873, allocations: 44.97 kB / 435.8 MB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1873, allocations: 5 kB / 435.8 MB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.1874, allocations: 27.11 kB / 435.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.1875, allocations: 14.08 kB / 435.9 MB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1886, allocations: 187 kB / 436 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.1886, allocations: 58.84 kB / 436.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1887, allocations: 10.16 kB / 436.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.1887, allocations: 66.47 kB / 436.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1887, allocations: 0.625 kB / 436.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of Templates: time 0.002409/0.1911, allocations: 0.7369 MB / 436.9 MB, free: 14.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.320227070711553]