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.0006508/0.0006508, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008203/0.001471, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006886/0.0006886, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008668/0.001555, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9387/0.9387, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0982/1.037, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.001215/0.001215, allocations: 225.5 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009262/0.002142, allocations: 475.4 kB / 244.7 MB, free: 14.18 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.7327/0.7327, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07242/0.8051, allocations: 42.4 MB / 426.5 MB, free: 5.965 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 1.853e-06/1.853e-06, allocations: 0 / 427.7 MB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.66e-05, allocations: 2.312 kB / 427.7 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002241/0.002258, allocations: 1.36 MB / 429.1 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2176/0.2198, allocations: 3.37 MB / 432.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.2199, allocations: 0 / 432.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.2199, allocations: 1.031 kB / 432.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.2199, allocations: 6.844 kB / 432.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.2204, allocations: 108 kB / 432.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.2205, allocations: 36.69 kB / 432.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.2205, allocations: 3.438 kB / 432.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.2206, allocations: 29.62 kB / 432.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.2206, allocations: 15.77 kB / 432.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2206, allocations: 4.141 kB / 432.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2209, allocations: 69.02 kB / 432.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2209, allocations: 3.562 kB / 432.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.2209, allocations: 11.05 kB / 432.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2211, allocations: 63.02 kB / 432.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.316e-05/0.2211, allocations: 2.188 kB / 432.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2211, allocations: 0.7031 kB / 432.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.2211, allocations: 0 / 432.8 MB, free: 1.164 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.0004739/0.2216, allocations: 262.6 kB / 433.1 MB, free: 16.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2216, allocations: 10.66 kB / 433.1 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.2218, allocations: 93.03 kB / 433.2 MB, free: 16.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/0.2218, allocations: 106 kB / 433.3 MB, free: 16.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2219, allocations: 6.344 kB / 433.3 MB, free: 16.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2219, allocations: 8 kB / 433.3 MB, free: 16.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.222, allocations: 124.6 kB / 433.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.222, allocations: 192 / 433.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.222, allocations: 4.625 kB / 433.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.222, allocations: 5.531 kB / 433.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.2221, allocations: 16.22 kB / 433.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.11e-05/0.2221, allocations: 73.34 kB / 433.5 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.2222, allocations: 44.62 kB / 433.6 MB, free: 16.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.2222, allocations: 11.84 kB / 433.6 MB, free: 16.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.2226, allocations: 216.6 kB / 433.8 MB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2226, allocations: 39.7 kB / 433.8 MB, free: 16.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2226, allocations: 2.562 kB / 433.8 MB, free: 16.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004722/0.2231, allocations: 233 kB / 434.1 MB, free: 16.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2231, allocations: 55.84 kB / 434.1 MB, free: 16.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.2232, allocations: 102.9 kB / 434.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2232, allocations: 26.92 kB / 434.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.2232, allocations: 88.89 kB / 434.3 MB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.2232, allocations: 31.12 kB / 434.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.2233, allocations: 29.72 kB / 434.4 MB, free: 15.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.2234, allocations: 316.4 kB / 434.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.2234, allocations: 11.38 kB / 434.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.2234, allocations: 45.02 kB / 434.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.2234, allocations: 71.7 kB / 434.8 MB, free: 15.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2234, allocations: 0 / 434.8 MB, free: 15.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.043e-05/0.2235, allocations: 80.78 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2235, allocations: 9.219 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2235, allocations: 1.281 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2236, allocations: 4.172 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.2236, allocations: 24.94 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2236, allocations: 5.688 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.2236, allocations: 0.6562 kB / 434.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2236, allocations: 3.688 kB / 434.9 MB, free: 15.39 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.322e-05/0.2237, allocations: 115.6 kB / 435.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.2237, allocations: 12.53 kB / 435.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.2237, allocations: 8.062 kB / 435.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2237, allocations: 4.438 kB / 435.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2237, allocations: 3.562 kB / 435.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2237, allocations: 0 / 435.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2239, allocations: 82.11 kB / 435.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2239, allocations: 1.375 kB / 435.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.2239, allocations: 18.17 kB / 435.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.2239, allocations: 9.75 kB / 435.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2239, allocations: 5.75 kB / 435.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.224, allocations: 4.5 kB / 435.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.224, allocations: 0.8438 kB / 435.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.224, allocations: 2.562 kB / 435.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.2241, allocations: 158 kB / 435.4 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.2241, allocations: 5.312 kB / 435.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.2241, allocations: 6.25 kB / 435.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.2241, allocations: 7.953 kB / 435.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2241, allocations: 0 / 435.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.955e-06/0.2241, allocations: 9.359 kB / 435.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2241, allocations: 0 / 435.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.2243, allocations: 17.39 kB / 435.4 MB, free: 15.05 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 0.0001008/0.2244, allocations: 82.11 kB / 435.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.2245, allocations: 42.83 kB / 435.5 MB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2245, allocations: 1.219 kB / 435.5 MB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.2245, allocations: 23.48 kB / 435.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.2246, allocations: 16.02 kB / 435.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.2255, allocations: 191.7 kB / 435.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.2256, allocations: 61.75 kB / 435.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.2256, allocations: 8.516 kB / 435.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.2257, allocations: 64.42 kB / 435.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2257, allocations: 0.9062 kB / 435.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of Templates: time 0.002485/0.2281, allocations: 0.7591 MB / 436.6 MB, free: 14.69 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.4197748694568872]