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.0009935/0.0009935, allocations: 80.94 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.001196/0.001196, allocations: 173.4 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.001813/0.001813, allocations: 252.9 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.8003/0.8003, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.302e-06/1.302e-06, allocations: 0 / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.783e-05, allocations: 2.859 kB / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.006114/0.006132, allocations: 1.868 MB / 464.2 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.007396, allocations: 0.7212 MB / 465 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.00748, allocations: 2.344 kB / 465 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.007526, allocations: 14.77 kB / 465 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.007604, allocations: 20.05 kB / 465 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.008162, allocations: 182.4 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.008349, allocations: 126.3 kB / 465.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.008479, allocations: 36.88 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.008677, allocations: 86.28 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.008757, allocations: 35.64 kB / 465.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.008783, allocations: 10.03 kB / 465.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.008916, allocations: 55 kB / 465.5 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.00895, allocations: 33.88 kB / 465.6 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.008995, allocations: 38.95 kB / 465.6 MB, free: 14.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.009212, allocations: 143 kB / 465.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.009214, allocations: 0 / 465.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.009215, allocations: 0.5625 kB / 465.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.009219, allocations: 0.5625 kB / 465.7 MB, free: 14.84 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.0004238/0.009643, allocations: 344 kB / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.009677, allocations: 10.12 kB / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/0.01021, allocations: 100.7 kB / 466.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.01343, allocations: 144.7 kB / 466.3 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.0135, allocations: 114.1 kB / 466.4 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.01352, allocations: 15.97 kB / 466.4 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.01378, allocations: 189.8 kB / 466.6 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.01379, allocations: 1.172 kB / 466.6 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.0138, allocations: 2.656 kB / 466.6 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.01381, allocations: 1.25 kB / 466.6 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.01387, allocations: 33.27 kB / 466.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.01437, allocations: 283.2 kB / 466.9 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.01465, allocations: 126.6 kB / 467.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.01468, allocations: 21.61 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.0147, allocations: 4.812 kB / 467.1 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01472, allocations: 31.69 kB / 467.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.01472, allocations: 1.594 kB / 467.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001793/0.0149, allocations: 85.8 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.01493, allocations: 55.39 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.01501, allocations: 149.3 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.01503, allocations: 30.61 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.01507, allocations: 108.2 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.01509, allocations: 23.8 kB / 467.6 MB, free: 13.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.01514, allocations: 22.34 kB / 467.6 MB, free: 13.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.01522, allocations: 324.3 kB / 467.9 MB, free: 12.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.01526, allocations: 15.98 kB / 467.9 MB, free: 12.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.0153, allocations: 38.56 kB / 468 MB, free: 12.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/0.01539, allocations: 65.78 kB / 468 MB, free: 12.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01539, allocations: 0 / 468 MB, free: 12.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.01551, allocations: 82.55 kB / 468.1 MB, free: 12.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.01552, allocations: 4 kB / 468.1 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01553, allocations: 2 kB / 468.1 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01554, allocations: 4 kB / 468.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01565, allocations: 23.97 kB / 468.1 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01566, allocations: 7.938 kB / 468.1 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.01573, allocations: 17.03 kB / 468.2 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.01574, allocations: 0.8125 kB / 468.2 MB, free: 12.6 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 6.55e-05/0.0158, allocations: 114.4 kB / 468.3 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.01583, allocations: 9.109 kB / 468.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.01597, allocations: 91.06 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01597, allocations: 4 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01598, allocations: 5.438 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01598, allocations: 0.75 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.01612, allocations: 101.8 kB / 468.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01613, allocations: 0 / 468.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/0.01922, allocations: 25.59 kB / 468.5 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01923, allocations: 0 / 468.5 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.01924, allocations: 4.812 kB / 468.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01924, allocations: 1.062 kB / 468.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01924, allocations: 0 / 468.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.01937, allocations: 172.8 kB / 468.7 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.01938, allocations: 16.95 kB / 468.7 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.0194, allocations: 5.547 kB / 468.7 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.01952, allocations: 16.61 kB / 468.7 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.01955, allocations: 8.891 kB / 468.7 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.01956, allocations: 3.984 kB / 468.7 MB, free: 11.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.047e-05/0.01959, allocations: 36.77 kB / 468.8 MB, free: 11.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01959, allocations: 1.062 kB / 468.8 MB, free: 11.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.0198, allocations: 20 kB / 468.8 MB, free: 11.93 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 8.706e-05/0.01988, allocations: 77.02 kB / 468.9 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.02, allocations: 59.17 kB / 468.9 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.02, allocations: 4 kB / 468.9 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.02004, allocations: 29.34 kB / 469 MB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.02023, allocations: 16.98 kB / 469 MB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.02067, allocations: 226.5 kB / 469.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.02071, allocations: 64.84 kB / 469.3 MB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.02078, allocations: 16.47 kB / 469.3 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.02094, allocations: 79.3 kB / 469.3 MB, free: 11.33 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02094, allocations: 0 / 469.3 MB, free: 11.33 MB / 426.7 MB Notification: Performance of Templates: time 0.006383/0.02732, allocations: 1.654 MB / 471 MB, free: 9.801 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7966004661284387]