Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.001011/0.001011, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002569, 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.001072/0.001072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002545, 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 1.021/1.021, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09143/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.001989/0.001989, allocations: 221 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.003473, allocations: 487.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.7006/0.7006, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06898/0.7696, allocations: 42.41 MB / 426.7 MB, free: 5.816 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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.115e-05, allocations: 2.312 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002888/0.002909, allocations: 1.87 MB / 429.9 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.006005, allocations: 0.7327 MB / 430.7 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.006069, allocations: 3.938 kB / 430.7 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.006102, allocations: 11.86 kB / 430.7 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.006163, allocations: 15.81 kB / 430.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.00661, allocations: 183.5 kB / 430.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.00678, allocations: 119.6 kB / 431 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.006906, allocations: 50.11 kB / 431.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.007104, allocations: 91.86 kB / 431.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.007186, allocations: 43.88 kB / 431.2 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.007212, allocations: 12 kB / 431.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007341, allocations: 55.89 kB / 431.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.007377, allocations: 19.94 kB / 431.3 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.007418, allocations: 27.88 kB / 431.3 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.007605, allocations: 115.6 kB / 431.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.007616, allocations: 0 / 431.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007617, allocations: 0 / 431.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.007627, allocations: 0 / 431.4 MB, free: 1.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004053/0.008033, allocations: 363.9 kB / 431.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.008072, allocations: 12.03 kB / 431.8 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.008498, allocations: 185.8 kB / 432 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.008651, allocations: 138.2 kB / 432.1 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.008707, allocations: 115.4 kB / 432.2 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.008726, allocations: 12.31 kB / 432.2 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1826/0.1914, allocations: 189 kB / 432.4 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1914, allocations: 0 / 432.4 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.1914, allocations: 3.219 kB / 432.4 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1914, allocations: 2.5 kB / 432.4 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1915, allocations: 32.42 kB / 432.4 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.1921, allocations: 275.1 kB / 432.7 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.1924, allocations: 117.9 kB / 432.8 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.1924, allocations: 27.02 kB / 432.9 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1924, allocations: 4.344 kB / 432.9 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1924, allocations: 34.16 kB / 432.9 MB, free: 2.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1924, allocations: 0.625 kB / 432.9 MB, free: 2.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000173/0.1926, allocations: 93.06 kB / 433 MB, free: 2.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.547e-05/0.1926, allocations: 54.38 kB / 433 MB, free: 1.969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1927, allocations: 141.6 kB / 433.2 MB, free: 1.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1927, allocations: 27.7 kB / 433.2 MB, free: 1.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1927, allocations: 110.2 kB / 433.3 MB, free: 1.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1928, allocations: 21.08 kB / 433.3 MB, free: 1.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1928, allocations: 27.06 kB / 433.4 MB, free: 1.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.36e-05/0.1928, allocations: 320.7 kB / 433.7 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.1929, allocations: 15.41 kB / 433.7 MB, free: 1.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.1929, allocations: 35.83 kB / 433.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/0.193, allocations: 61.58 kB / 433.8 MB, free: 1.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.193, allocations: 2.281 kB / 433.8 MB, free: 1.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001084/0.1931, allocations: 79.42 kB / 433.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1931, allocations: 8.75 kB / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1931, allocations: 1.391 kB / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1931, allocations: 3.438 kB / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1933, allocations: 35.59 kB / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.1933, allocations: 0 / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.1933, allocations: 16.22 kB / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1934, allocations: 5.844 kB / 433.9 MB, free: 1.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.162e-05/0.1934, allocations: 114.2 kB / 434 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1935, allocations: 8.312 kB / 434 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.1936, allocations: 93.14 kB / 434.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1936, allocations: 1.562 kB / 434.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1936, allocations: 0 / 434.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1936, allocations: 1.078 kB / 434.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1937, allocations: 105.8 kB / 434.2 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1937, allocations: 1.375 kB / 434.2 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.1938, allocations: 27.94 kB / 434.3 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.1938, allocations: 12.94 kB / 434.3 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1938, allocations: 0.5469 kB / 434.3 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1939, allocations: 6.219 kB / 434.3 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1939, allocations: 0.5625 kB / 434.3 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1939, allocations: 1.281 kB / 434.3 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.194, allocations: 171.4 kB / 434.5 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.194, allocations: 1.922 kB / 434.5 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.1941, allocations: 22.2 kB / 434.5 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.1941, allocations: 10 kB / 434.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1941, allocations: 5.172 kB / 434.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.881e-05/0.1942, allocations: 32.36 kB / 434.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1942, allocations: 0.9375 kB / 434.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.1943, allocations: 24.36 kB / 434.6 MB, free: 16.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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.0001067/0.1944, allocations: 79.69 kB / 434.6 MB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1945, allocations: 59.89 kB / 434.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/0.1945, allocations: 0 / 434.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.1946, allocations: 42.17 kB / 434.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.1948, allocations: 79.59 kB / 434.8 MB, free: 16.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.1955, allocations: 228.9 kB / 435 MB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.445e-05/0.1956, allocations: 62.83 kB / 435.1 MB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.1956, allocations: 17.02 kB / 435.1 MB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1958, allocations: 81.08 kB / 435.2 MB, free: 16.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1958, allocations: 0 / 435.2 MB, free: 16.55 MB / 426.7 MB Notification: Performance of Templates: time 0.003489/0.1993, allocations: 1.705 MB / 436.9 MB, free: 16.49 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.451424433849752]