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.0009097/0.0009097, allocations: 84.75 kB / 20.83 MB, free: 3.621 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.0009715/0.0009715, allocations: 169 kB / 24.25 MB, free: 200 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 0.9614/0.9614, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.912/1.912, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 177] 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 3.145e-06/3.145e-06, allocations: 0 / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.73e-05/5.044e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.005487/0.005538, allocations: 1.858 MB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.007703, allocations: 0.7179 MB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.007852, allocations: 0 / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.702e-05/0.007929, allocations: 16.55 kB / 0.7779 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.008074, allocations: 20.67 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.00896, allocations: 178.4 kB / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.009297, allocations: 126.7 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.00953, allocations: 55.77 kB / 0.7783 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.009935, allocations: 83.8 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.01007, allocations: 31.89 kB / 0.7784 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.01013, allocations: 12 kB / 0.7784 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.01037, allocations: 52.77 kB / 0.7784 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.01043, allocations: 35.84 kB / 0.7785 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.01049, allocations: 40.39 kB / 0.7785 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.01085, allocations: 144.2 kB / 0.7787 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.01085, allocations: 0 / 0.7787 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.773e-06/0.01085, allocations: 2.531 kB / 0.7787 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.01086, allocations: 0 / 0.7787 GB, free: 1.91 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.0006999/0.01156, allocations: 336.3 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.01163, allocations: 9.344 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/0.01238, allocations: 107.5 kB / 0.7791 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.01271, allocations: 142.8 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.01285, allocations: 111.4 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.01289, allocations: 12.38 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.01329, allocations: 188.5 kB / 0.7795 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.0133, allocations: 0 / 0.7795 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01333, allocations: 4 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.01334, allocations: 0 / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.01344, allocations: 40.36 kB / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.0143, allocations: 277.2 kB / 0.7798 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.01473, allocations: 125.1 kB / 0.7799 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.01479, allocations: 24.86 kB / 0.78 GB, free: 468 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.01482, allocations: 3.984 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.01486, allocations: 30.56 kB / 0.78 GB, free: 424 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 4.418e-06/0.01487, allocations: 4.5 kB / 0.78 GB, free: 420 kB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003102/0.01518, allocations: 86.83 kB / 0.7801 GB, free: 328 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.01524, allocations: 55.41 kB / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.01538, allocations: 149.2 kB / 0.7803 GB, free: 100 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.01541, allocations: 29.7 kB / 0.7803 GB, free: 64 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01553, allocations: 101.4 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.01556, allocations: 27.78 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.01585, allocations: 25.69 kB / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01599, allocations: 315.5 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.01605, allocations: 23.98 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.01611, allocations: 31.36 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.01623, allocations: 64.25 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01623, allocations: 4 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001953/0.01643, allocations: 78.55 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.01645, allocations: 11.94 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01646, allocations: 0.5312 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01648, allocations: 0.5312 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01667, allocations: 29.38 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01668, allocations: 7.922 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.01676, allocations: 11.98 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.01678, allocations: 6.75 kB / 0.781 GB, free: 15.3 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 0.0001246/0.0169, allocations: 117.7 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.01695, allocations: 11.98 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.01722, allocations: 86.42 kB / 0.7812 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.01722, allocations: 5.297 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01723, allocations: 3.938 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01723, allocations: 0 / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.01746, allocations: 101.8 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01746, allocations: 1.5 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.0176, allocations: 23.97 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.0176, allocations: 0 / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01762, allocations: 12.58 kB / 0.7814 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.01762, allocations: 5.031 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01763, allocations: 0 / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01787, allocations: 163.5 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.01789, allocations: 8.453 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01791, allocations: 1.219 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.01807, allocations: 27.97 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.01811, allocations: 1.312 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.01814, allocations: 7.984 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.0182, allocations: 34.83 kB / 0.7816 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0182, allocations: 1.375 kB / 0.7816 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002656/0.01846, allocations: 20 kB / 0.7816 GB, free: 14.64 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.0002034/0.01867, allocations: 80.41 kB / 0.7817 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.01886, allocations: 58.34 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.01887, allocations: 4 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.01894, allocations: 34.06 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01922, allocations: 27.84 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.02007, allocations: 222.6 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.238e-05/0.02013, allocations: 63.34 kB / 0.7821 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.833e-05/0.02023, allocations: 17.12 kB / 0.7821 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.02044, allocations: 83.3 kB / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of SimCode: time 1.863e-06/0.02044, allocations: 0 / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.005918/0.02636, allocations: 1.63 MB / 0.7838 GB, free: 12.46 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.304624550044537]