Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001009/0.001009, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001226/0.001226, allocations: 165.5 kB / 24.96 MB, free: 8.129 MB / 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 0.9773/0.9773, allocations: 177.1 MB / 205.4 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.915/1.915, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.436e-05, allocations: 3.031 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002438/0.002463, allocations: 1.877 MB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000963/0.003425, allocations: 0.7142 MB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.00349, allocations: 7.938 kB / 0.7785 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.003527, allocations: 14.61 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.003599, allocations: 16.62 kB / 0.7785 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.004006, allocations: 179.1 kB / 0.7787 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.004182, allocations: 131.6 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.004304, allocations: 50.06 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.004462, allocations: 87.78 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.004532, allocations: 31.91 kB / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.004554, allocations: 8 kB / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.004672, allocations: 55.95 kB / 0.7791 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.004701, allocations: 28.95 kB / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.004736, allocations: 39.89 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.005223, allocations: 144 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005226, allocations: 0 / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005227, allocations: 0.8438 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005232, allocations: 0 / 0.7793 GB, free: 2.035 MB / 0.7292 GB 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.0003618/0.005594, allocations: 333.6 kB / 0.7796 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.005629, allocations: 9.344 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.006017, allocations: 114.8 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.006189, allocations: 139.3 kB / 0.7798 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/0.006252, allocations: 113 kB / 0.7799 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.006268, allocations: 8.375 kB / 0.7799 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.006471, allocations: 190.5 kB / 0.7801 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006478, allocations: 0 / 0.7801 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.006492, allocations: 5.312 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006498, allocations: 7.938 kB / 0.7801 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.006547, allocations: 31.98 kB / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.006974, allocations: 285.8 kB / 0.7804 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.007218, allocations: 120.4 kB / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.007246, allocations: 20.86 kB / 0.7806 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007265, allocations: 1.125 kB / 0.7806 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.007286, allocations: 38.69 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.007287, allocations: 0.5312 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001623/0.007449, allocations: 86.14 kB / 0.7807 GB, free: 452 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.007472, allocations: 55.39 kB / 0.7808 GB, free: 384 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.007545, allocations: 153.1 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.00756, allocations: 27.42 kB / 0.7809 GB, free: 188 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.007598, allocations: 104.2 kB / 0.781 GB, free: 80 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.00762, allocations: 27.77 kB / 0.7811 GB, free: 52 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.007658, allocations: 21.72 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.007749, allocations: 322.8 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.00778, allocations: 17.11 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.007817, allocations: 34.56 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.644e-05/0.007883, allocations: 63.73 kB / 0.7815 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007885, allocations: 1.125 kB / 0.7815 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.451e-05/0.007979, allocations: 81.61 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.00799, allocations: 5.094 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007995, allocations: 0 / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.008009, allocations: 4 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.008126, allocations: 25.25 kB / 0.7816 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.00813, allocations: 11.88 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.00818, allocations: 17.03 kB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.008187, allocations: 0 / 0.7816 GB, free: 15.43 MB / 0.7448 GB 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 6.131e-05/0.008249, allocations: 119.2 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.00827, allocations: 7.984 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.008394, allocations: 83.94 kB / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008397, allocations: 0 / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.0084, allocations: 7.938 kB / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.008404, allocations: 4.734 kB / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.008516, allocations: 105.8 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008517, allocations: 1.062 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.591e-05/0.008593, allocations: 27.91 kB / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.008595, allocations: 1.531 kB / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.008601, allocations: 0 / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008602, allocations: 3.938 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.008604, allocations: 3.984 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.008717, allocations: 166.9 kB / 0.7821 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.00873, allocations: 19.94 kB / 0.7822 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.008742, allocations: 4 kB / 0.7822 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.008824, allocations: 15.98 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.008852, allocations: 7.984 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.008862, allocations: 3.984 kB / 0.7822 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.008887, allocations: 34.66 kB / 0.7822 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008887, allocations: 6.969 kB / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001367/0.009024, allocations: 20 kB / 0.7822 GB, free: 14.75 MB / 0.7448 GB 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.0001011/0.009125, allocations: 80.41 kB / 0.7823 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.009228, allocations: 52.83 kB / 0.7824 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.009231, allocations: 0 / 0.7824 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.009266, allocations: 36.78 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.009413, allocations: 24.08 kB / 0.7824 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.009827, allocations: 214.4 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.009864, allocations: 63.34 kB / 0.7827 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.51e-05/0.009929, allocations: 19.2 kB / 0.7827 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.01006, allocations: 84.41 kB / 0.7828 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01006, allocations: 0 / 0.7828 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.003096/0.01316, allocations: 1.641 MB / 0.7844 GB, free: 12.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.079503015615046]