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.001067/0.001067, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001666/0.001666, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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.06/1.06, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001703/0.001703, allocations: 239.9 kB / 261.3 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.764/0.764, allocations: 138.4 MB / 456.3 MB, free: 30 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.853e-06/1.853e-06, allocations: 0 / 0.5564 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.644e-05, allocations: 6.312 kB / 0.5564 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003872/0.003898, allocations: 1.8 MB / 0.5581 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.005374, allocations: 0.7133 MB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.005487, allocations: 3.938 kB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.005531, allocations: 11.86 kB / 0.5588 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.005604, allocations: 19.8 kB / 0.5589 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.006113, allocations: 191.4 kB / 0.559 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.006287, allocations: 127.6 kB / 0.5592 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.006416, allocations: 41.58 kB / 0.5592 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.006579, allocations: 83.86 kB / 0.5593 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.00664, allocations: 31.89 kB / 0.5593 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.006661, allocations: 12 kB / 0.5593 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.006757, allocations: 51.91 kB / 0.5594 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.006788, allocations: 39.83 kB / 0.5594 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.00682, allocations: 35.89 kB / 0.5594 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.006998, allocations: 139.6 kB / 0.5596 GB, free: 12.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007002, allocations: 3.984 kB / 0.5596 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007003, allocations: 0 / 0.5596 GB, free: 12.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.007007, allocations: 3.938 kB / 0.5596 GB, free: 12.54 MB / 490.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.0004163/0.007423, allocations: 463.9 kB / 0.56 GB, free: 12.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.007458, allocations: 13.94 kB / 0.56 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/0.00789, allocations: 108.7 kB / 0.5601 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.008068, allocations: 152.9 kB / 0.5603 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.008128, allocations: 115.3 kB / 0.5604 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.008147, allocations: 12.38 kB / 0.5604 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.008383, allocations: 192.8 kB / 0.5606 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.008391, allocations: 0 / 0.5606 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.008407, allocations: 8 kB / 0.5606 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.008413, allocations: 0 / 0.5606 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.008475, allocations: 47.91 kB / 0.5606 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.008979, allocations: 406 kB / 0.561 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.009253, allocations: 139 kB / 0.5612 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.009287, allocations: 31.69 kB / 0.5612 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.009304, allocations: 3.984 kB / 0.5612 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.009328, allocations: 37.39 kB / 0.5612 GB, free: 10.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.009329, allocations: 0 / 0.5612 GB, free: 10.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002034/0.009533, allocations: 105.7 kB / 0.5613 GB, free: 10.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.00956, allocations: 55.41 kB / 0.5614 GB, free: 10.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.009651, allocations: 209.5 kB / 0.5616 GB, free: 10.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.009668, allocations: 25.7 kB / 0.5616 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.009724, allocations: 158.9 kB / 0.5618 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.009744, allocations: 19.84 kB / 0.5618 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.009785, allocations: 31.34 kB / 0.5618 GB, free: 10.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.009895, allocations: 0.4884 MB / 0.5623 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.009926, allocations: 23.92 kB / 0.5623 GB, free: 9.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.00997, allocations: 47.05 kB / 0.5624 GB, free: 9.465 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.01005, allocations: 74.97 kB / 0.5624 GB, free: 9.379 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01005, allocations: 0 / 0.5624 GB, free: 9.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001284/0.01018, allocations: 97.56 kB / 0.5625 GB, free: 9.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01019, allocations: 4 kB / 0.5625 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.0102, allocations: 0 / 0.5625 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.01021, allocations: 4 kB / 0.5625 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01031, allocations: 28.22 kB / 0.5626 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.01031, allocations: 4.219 kB / 0.5626 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.01038, allocations: 35.81 kB / 0.5626 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01039, allocations: 7.969 kB / 0.5626 GB, free: 9.195 MB / 490.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 7.579e-05/0.01046, allocations: 156.6 kB / 0.5628 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.01049, allocations: 11.95 kB / 0.5628 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.01063, allocations: 94.42 kB / 0.5629 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.01063, allocations: 0 / 0.5629 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01064, allocations: 11.94 kB / 0.5629 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01064, allocations: 7.969 kB / 0.5629 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.01077, allocations: 138.1 kB / 0.563 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01078, allocations: 4 kB / 0.563 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.01085, allocations: 23.91 kB / 0.563 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01085, allocations: 4 kB / 0.563 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.01086, allocations: 4 kB / 0.563 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.01086, allocations: 0 / 0.563 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01086, allocations: 0 / 0.563 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.01101, allocations: 235.8 kB / 0.5633 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-06/0.01102, allocations: 11.95 kB / 0.5633 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01104, allocations: 7.984 kB / 0.5633 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.01113, allocations: 15.98 kB / 0.5633 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.01116, allocations: 3.984 kB / 0.5633 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01117, allocations: 7.984 kB / 0.5633 GB, free: 8.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.683e-05/0.01122, allocations: 147.1 kB / 0.5634 GB, free: 8.266 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01122, allocations: 0 / 0.5634 GB, free: 8.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.01138, allocations: 23.94 kB / 0.5635 GB, free: 8.242 MB / 490.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.015e-05/0.01147, allocations: 115.1 kB / 0.5636 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01159, allocations: 59.66 kB / 0.5636 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01159, allocations: 0 / 0.5636 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.01163, allocations: 35.86 kB / 0.5637 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01182, allocations: 24.11 kB / 0.5637 GB, free: 7.992 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.01225, allocations: 229.7 kB / 0.5639 GB, free: 7.742 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.01228, allocations: 67.47 kB / 0.564 GB, free: 7.656 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.01234, allocations: 8 kB / 0.564 GB, free: 7.648 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.01248, allocations: 114.1 kB / 0.5641 GB, free: 7.535 MB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01248, allocations: 4 kB / 0.5641 GB, free: 7.531 MB / 490.7 MB Notification: Performance of Templates: time 0.003035/0.01552, allocations: 1.738 MB / 0.5658 GB, free: 5.816 MB / 490.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.779401262756437]