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.0009505/0.0009505, allocations: 81.17 kB / 19.87 MB, free: 4.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.0009766/0.0009766, allocations: 169 kB / 23.27 MB, free: 1.223 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.9675/0.9675, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.001972/0.001972, allocations: 241.7 kB / 260.5 MB, free: 12.68 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.7606/0.7606, allocations: 138.4 MB / 455.5 MB, free: 30.04 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.863e-06/1.863e-06, allocations: 0 / 0.5556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.686e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003308/0.003335, allocations: 1.816 MB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004738, allocations: 0.7133 MB / 0.5581 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.004843, allocations: 0 / 0.5581 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.004889, allocations: 7.875 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.888e-05/0.004978, allocations: 23.73 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.005614, allocations: 183.5 kB / 0.5583 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.005819, allocations: 127.6 kB / 0.5584 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.005958, allocations: 37.59 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.006181, allocations: 91.78 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.006262, allocations: 27.91 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.006292, allocations: 12 kB / 0.5585 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.006414, allocations: 59.81 kB / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.006447, allocations: 31.91 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.006488, allocations: 39.89 kB / 0.5587 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.006713, allocations: 143.5 kB / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006715, allocations: 0 / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006716, allocations: 0 / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.006721, allocations: 0 / 0.5588 GB, free: 12.58 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.0005118/0.007233, allocations: 463.9 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.007275, allocations: 13.94 kB / 0.5593 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.007836, allocations: 108.7 kB / 0.5594 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.008053, allocations: 157.9 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/0.008142, allocations: 115.3 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.008168, allocations: 16.31 kB / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.008469, allocations: 186 kB / 0.5598 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.008478, allocations: 0 / 0.5598 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.008496, allocations: 8 kB / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.008503, allocations: 4 kB / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.008587, allocations: 39.97 kB / 0.5599 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.009257, allocations: 406 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.009601, allocations: 143 kB / 0.5604 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.009647, allocations: 35.61 kB / 0.5604 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.009675, allocations: 11.92 kB / 0.5604 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.009698, allocations: 33.39 kB / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.0097, allocations: 0 / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000257/0.009957, allocations: 105.7 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.009983, allocations: 51.41 kB / 0.5606 GB, free: 10.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.01011, allocations: 204.6 kB / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01013, allocations: 29.7 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.01021, allocations: 162.9 kB / 0.561 GB, free: 10.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.01023, allocations: 15.84 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.01029, allocations: 35.34 kB / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.01043, allocations: 0.4923 MB / 0.5615 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.01048, allocations: 15.94 kB / 0.5615 GB, free: 9.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.01053, allocations: 51.03 kB / 0.5616 GB, free: 9.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.01063, allocations: 63.05 kB / 0.5617 GB, free: 9.418 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01064, allocations: 8 kB / 0.5617 GB, free: 9.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001574/0.0108, allocations: 93.56 kB / 0.5618 GB, free: 9.312 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01081, allocations: 10.81 kB / 0.5618 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01082, allocations: 4.25 kB / 0.5618 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01083, allocations: 0 / 0.5618 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01096, allocations: 31.91 kB / 0.5618 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.01097, allocations: 4.156 kB / 0.5618 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.398e-05/0.01105, allocations: 27.92 kB / 0.5618 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01106, allocations: 11.98 kB / 0.5618 GB, free: 9.227 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 8.848e-05/0.01115, allocations: 156.6 kB / 0.562 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.01119, allocations: 11.95 kB / 0.562 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.01138, allocations: 102.3 kB / 0.5621 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01138, allocations: 0 / 0.5621 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01138, allocations: 3.938 kB / 0.5621 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01138, allocations: 0 / 0.5621 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.01156, allocations: 146.1 kB / 0.5622 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01157, allocations: 0 / 0.5622 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.01166, allocations: 23.97 kB / 0.5623 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01167, allocations: 0 / 0.5623 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01168, allocations: 7.938 kB / 0.5623 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01168, allocations: 0 / 0.5623 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01168, allocations: 0 / 0.5623 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.01189, allocations: 243.7 kB / 0.5625 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01191, allocations: 7.953 kB / 0.5625 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.01193, allocations: 4 kB / 0.5625 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01206, allocations: 19.98 kB / 0.5625 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.0121, allocations: 7.984 kB / 0.5625 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.01211, allocations: 3.984 kB / 0.5625 GB, free: 8.441 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.01219, allocations: 155.1 kB / 0.5627 GB, free: 8.289 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01219, allocations: 0 / 0.5627 GB, free: 8.289 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01244, allocations: 23.94 kB / 0.5627 GB, free: 8.266 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 0.0001289/0.01257, allocations: 95.25 kB / 0.5628 GB, free: 8.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01272, allocations: 67.59 kB / 0.5629 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01272, allocations: 0 / 0.5629 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.01278, allocations: 35.92 kB / 0.5629 GB, free: 8.051 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01305, allocations: 25.12 kB / 0.5629 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.01364, allocations: 229.7 kB / 0.5631 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.01369, allocations: 65.59 kB / 0.5632 GB, free: 7.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.371e-05/0.01378, allocations: 20.11 kB / 0.5632 GB, free: 7.676 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.01397, allocations: 110.1 kB / 0.5633 GB, free: 7.566 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01397, allocations: 0 / 0.5633 GB, free: 7.566 MB / 490.7 MB Notification: Performance of Templates: time 0.004575/0.01855, allocations: 1.704 MB / 0.565 GB, free: 5.891 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.59662153897807]