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.001144/0.001144, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.002926, 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.001226/0.001226, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002689, 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.9605/0.9605, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08587/1.046, 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.001668/0.001668, allocations: 240.2 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004157/0.005826, allocations: 463.6 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.747/0.747, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07319/0.8202, allocations: 42.4 MB / 426.5 MB, free: 5.945 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.292e-06/1.292e-06, allocations: 0 / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.387e-05, allocations: 2.312 kB / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002154/0.002168, allocations: 1.866 MB / 429.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003368, allocations: 0.725 MB / 430.4 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.003458, allocations: 4 kB / 430.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.003496, allocations: 11.86 kB / 430.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.003546, allocations: 23.73 kB / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.004012, allocations: 171.5 kB / 430.6 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.00418, allocations: 131.6 kB / 430.7 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004315, allocations: 46.17 kB / 430.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.004519, allocations: 95.86 kB / 430.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.004601, allocations: 31.89 kB / 430.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.004624, allocations: 8 kB / 430.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.004758, allocations: 63.83 kB / 431 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.004783, allocations: 15.94 kB / 431 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.004816, allocations: 31.88 kB / 431 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.005002, allocations: 115.6 kB / 431.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.005019, allocations: 0 / 431.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.00502, allocations: 4 kB / 431.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.005038, allocations: 0 / 431.1 MB, free: 1.246 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.0004673/0.005506, allocations: 359.9 kB / 431.5 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005541, allocations: 15.98 kB / 431.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.005976, allocations: 181.8 kB / 431.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.006153, allocations: 150.1 kB / 431.8 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.006219, allocations: 107.4 kB / 431.9 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.006238, allocations: 12.38 kB / 431.9 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.006474, allocations: 186 kB / 432.1 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006483, allocations: 0 / 432.1 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.006498, allocations: 4 kB / 432.1 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006504, allocations: 4 kB / 432.1 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.00656, allocations: 31.98 kB / 432.2 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2018/0.2084, allocations: 281.4 kB / 432.4 MB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.2087, allocations: 121.5 kB / 432.6 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.2087, allocations: 24.02 kB / 432.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2088, allocations: 2 kB / 432.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2088, allocations: 37.56 kB / 432.6 MB, free: 2.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.2088, allocations: 0.5469 kB / 432.6 MB, free: 2.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001968/0.209, allocations: 82.08 kB / 432.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.209, allocations: 54.75 kB / 432.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.2091, allocations: 144.5 kB / 432.9 MB, free: 1.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2091, allocations: 26.7 kB / 432.9 MB, free: 1.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2091, allocations: 112.4 kB / 433 MB, free: 1.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2091, allocations: 19.05 kB / 433.1 MB, free: 1.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.2092, allocations: 26.55 kB / 433.1 MB, free: 1.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.2092, allocations: 326.9 kB / 433.4 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.2092, allocations: 12.8 kB / 433.4 MB, free: 1.504 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.2093, allocations: 39.84 kB / 433.5 MB, free: 1.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.2094, allocations: 54.94 kB / 433.5 MB, free: 1.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2094, allocations: 2.375 kB / 433.5 MB, free: 1.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.2095, allocations: 84.39 kB / 433.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2095, allocations: 7.844 kB / 433.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2095, allocations: 0 / 433.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2095, allocations: 4.656 kB / 433.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2097, allocations: 32.09 kB / 433.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2097, allocations: 1.312 kB / 433.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.2098, allocations: 16.73 kB / 433.7 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2098, allocations: 3.109 kB / 433.7 MB, free: 1.426 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 5.469e-05/0.2098, allocations: 116.8 kB / 433.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2099, allocations: 14.59 kB / 433.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.21, allocations: 83.78 kB / 433.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.21, allocations: 4.844 kB / 433.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.21, allocations: 1.781 kB / 433.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.21, allocations: 0.6562 kB / 433.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2102, allocations: 113.1 kB / 434 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2102, allocations: 1.219 kB / 434 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2103, allocations: 28.33 kB / 434 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.2103, allocations: 11.75 kB / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2103, allocations: 1.031 kB / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.2103, allocations: 1.531 kB / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2103, allocations: 1.031 kB / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2103, allocations: 0.6562 kB / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.2105, allocations: 172 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2105, allocations: 4.75 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2106, allocations: 18.64 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.2106, allocations: 4.547 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2106, allocations: 8.016 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.2107, allocations: 31.88 kB / 434.3 MB, free: 17.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2107, allocations: 0 / 434.3 MB, free: 17.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.2109, allocations: 26.41 kB / 434.3 MB, free: 17.05 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 9.704e-05/0.211, allocations: 74.84 kB / 434.4 MB, free: 16.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.2111, allocations: 59.52 kB / 434.4 MB, free: 16.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.2111, allocations: 3.781 kB / 434.4 MB, free: 16.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.2111, allocations: 34.28 kB / 434.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.2113, allocations: 31.64 kB / 434.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.2123, allocations: 228.4 kB / 434.7 MB, free: 16.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.2123, allocations: 66.94 kB / 434.8 MB, free: 16.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.59e-05/0.2124, allocations: 14.67 kB / 434.8 MB, free: 16.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2125, allocations: 82.44 kB / 434.9 MB, free: 16.7 MB / 426.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2125, allocations: 0 / 434.9 MB, free: 16.7 MB / 426.7 MB Notification: Performance of Templates: time 0.003838/0.2164, allocations: 1.699 MB / 436.6 MB, free: 16.64 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.393053467385471]