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.0008941/0.0008941, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001102/0.001102, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.047/1.047, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001948/0.001948, allocations: 245.6 kB / 260.5 MB, free: 12.69 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.7282/0.7282, allocations: 138.4 MB / 402.2 MB, free: 0.582 MB / 362.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.282e-06/1.282e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.202e-05, allocations: 4.297 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.004134/0.004156, allocations: 1.824 MB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.005478, allocations: 0.7219 MB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.005554, allocations: 1.688 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.005594, allocations: 10.34 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.005682, allocations: 23.91 kB / 464.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.006281, allocations: 183.2 kB / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.006504, allocations: 125.6 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.006647, allocations: 41.89 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.006884, allocations: 82.69 kB / 465.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.006976, allocations: 42.06 kB / 465.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.007007, allocations: 10.34 kB / 465.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.007136, allocations: 51.7 kB / 465.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.007174, allocations: 29.05 kB / 465.5 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.007232, allocations: 39.92 kB / 465.5 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.007477, allocations: 142.3 kB / 465.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.007481, allocations: 1.031 kB / 465.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007482, allocations: 0 / 465.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.007485, allocations: 0 / 465.6 MB, free: 14.93 MB / 426.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.0004775/0.007963, allocations: 343.4 kB / 466 MB, free: 14.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.008001, allocations: 12.84 kB / 466 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.008605, allocations: 97.94 kB / 466.1 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.00884, allocations: 147.4 kB / 466.2 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.95e-05/0.00893, allocations: 115.3 kB / 466.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.008961, allocations: 12.61 kB / 466.4 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.009307, allocations: 187.8 kB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.009316, allocations: 1.062 kB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.009334, allocations: 1.125 kB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.009341, allocations: 2.156 kB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.009427, allocations: 34.2 kB / 466.6 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.01009, allocations: 285.5 kB / 466.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.01046, allocations: 120.2 kB / 467 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.01051, allocations: 31.02 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.01053, allocations: 0 / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.01055, allocations: 38.69 kB / 467 MB, free: 13.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.01056, allocations: 1.078 kB / 467 MB, free: 13.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002222/0.01078, allocations: 81.67 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.01081, allocations: 52.53 kB / 467.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.01091, allocations: 150.6 kB / 467.3 MB, free: 13.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.01094, allocations: 25.7 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.01099, allocations: 109.2 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.01101, allocations: 19.8 kB / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.115e-05/0.01107, allocations: 29.69 kB / 467.5 MB, free: 13.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01118, allocations: 323.6 kB / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.01123, allocations: 17.81 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.01129, allocations: 35.27 kB / 467.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.0114, allocations: 55.8 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0114, allocations: 2.531 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001731/0.01157, allocations: 90.97 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.01159, allocations: 4 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.0116, allocations: 0 / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.01162, allocations: 4 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01178, allocations: 24.75 kB / 468 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01178, allocations: 4.094 kB / 468 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.01187, allocations: 12.73 kB / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01188, allocations: 4.781 kB / 468.1 MB, free: 12.75 MB / 426.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 9.695e-05/0.01198, allocations: 115.2 kB / 468.2 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.01203, allocations: 7.984 kB / 468.2 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.01223, allocations: 92.27 kB / 468.3 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01224, allocations: 2.141 kB / 468.3 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01224, allocations: 3.938 kB / 468.3 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01225, allocations: 0 / 468.3 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.01245, allocations: 98.5 kB / 468.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01245, allocations: 5.188 kB / 468.4 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.01257, allocations: 23.97 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01258, allocations: 0 / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.01259, allocations: 9.547 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.0126, allocations: 4.484 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0126, allocations: 3.938 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.01281, allocations: 167.9 kB / 468.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01282, allocations: 17.66 kB / 468.6 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.01285, allocations: 4.875 kB / 468.6 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.01301, allocations: 15.98 kB / 468.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.01304, allocations: 5.016 kB / 468.6 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.01306, allocations: 7.984 kB / 468.6 MB, free: 12.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.01311, allocations: 33.89 kB / 468.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01311, allocations: 1.062 kB / 468.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01338, allocations: 20 kB / 468.7 MB, free: 12.08 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 0.0001539/0.01353, allocations: 81.03 kB / 468.8 MB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01369, allocations: 58.75 kB / 468.8 MB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.01369, allocations: 0 / 468.8 MB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.01375, allocations: 29.59 kB / 468.9 MB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01401, allocations: 18.39 kB / 468.9 MB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.01462, allocations: 230.2 kB / 469.1 MB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.01466, allocations: 66.66 kB / 469.2 MB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.01474, allocations: 14.55 kB / 469.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.01494, allocations: 83.3 kB / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01495, allocations: 1.562 kB / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004253/0.0192, allocations: 1.644 MB / 470.9 MB, free: 9.949 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.655882142018527]