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.001235/0.001235, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009765/0.0009765, allocations: 173 kB / 23.49 MB, free: 1.059 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.9731/0.9731, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.002243/0.002243, allocations: 249 kB / 260.5 MB, free: 12.86 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.7521/0.7521, allocations: 138.4 MB / 455.4 MB, free: 1.527 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 2.304e-06/2.304e-06, allocations: 0 / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.083e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.00299/0.003021, allocations: 1.819 MB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.003996, allocations: 0.7018 MB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.004069, allocations: 0 / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.004106, allocations: 19.73 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.004163, allocations: 15.86 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.004653, allocations: 187.4 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.004821, allocations: 131.6 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.004962, allocations: 37.59 kB / 0.5579 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.005145, allocations: 83.8 kB / 0.558 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.005217, allocations: 39.89 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.00524, allocations: 8 kB / 0.558 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.005352, allocations: 51.91 kB / 0.5581 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.005382, allocations: 27.89 kB / 0.5581 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.005436, allocations: 47.83 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.00563, allocations: 135.6 kB / 0.5583 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005633, allocations: 4 kB / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.005634, allocations: 0 / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005638, allocations: 0 / 0.5583 GB, free: 13.53 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.0004346/0.006073, allocations: 471.8 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.006108, allocations: 12.75 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.006571, allocations: 104.7 kB / 0.5588 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006769, allocations: 153 kB / 0.559 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.006848, allocations: 119.4 kB / 0.5591 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.006868, allocations: 8.375 kB / 0.5591 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.007158, allocations: 198 kB / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.007167, allocations: 0 / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.007185, allocations: 4 kB / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007193, allocations: 0 / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.007301, allocations: 59.88 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.007889, allocations: 425.1 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.008192, allocations: 150.9 kB / 0.5599 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.008245, allocations: 31.81 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.008264, allocations: 7.984 kB / 0.5599 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.008286, allocations: 33.39 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.008287, allocations: 4 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002591/0.008546, allocations: 121.6 kB / 0.5601 GB, free: 11.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.008573, allocations: 55.34 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.00868, allocations: 204.8 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.008697, allocations: 25.7 kB / 0.5604 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.008764, allocations: 159 kB / 0.5605 GB, free: 11.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.008784, allocations: 19.84 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.008827, allocations: 35.36 kB / 0.5606 GB, free: 10.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.008948, allocations: 0.4884 MB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.008996, allocations: 23.98 kB / 0.5611 GB, free: 10.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.009059, allocations: 59.05 kB / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.009171, allocations: 75.02 kB / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.009174, allocations: 256 / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001507/0.009324, allocations: 113.6 kB / 0.5613 GB, free: 10.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.009338, allocations: 15.22 kB / 0.5613 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009343, allocations: 0 / 0.5613 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.009359, allocations: 3.938 kB / 0.5613 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.009471, allocations: 32.03 kB / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.009476, allocations: 0 / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.009537, allocations: 23.86 kB / 0.5614 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.009547, allocations: 4 kB / 0.5614 GB, free: 10.09 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 7.792e-05/0.009625, allocations: 160.6 kB / 0.5615 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.009652, allocations: 11.89 kB / 0.5615 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.009824, allocations: 114.4 kB / 0.5616 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.009828, allocations: 7.922 kB / 0.5616 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.009831, allocations: 0 / 0.5616 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.009834, allocations: 0 / 0.5616 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.009972, allocations: 165.5 kB / 0.5618 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009973, allocations: 0 / 0.5618 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.01004, allocations: 23.97 kB / 0.5618 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01005, allocations: 3.984 kB / 0.5618 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01006, allocations: 0 / 0.5618 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01006, allocations: 0 / 0.5618 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.01006, allocations: 11.94 kB / 0.5618 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.01024, allocations: 247.8 kB / 0.5621 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-06/0.01025, allocations: 7.953 kB / 0.5621 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01027, allocations: 3.984 kB / 0.5621 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.01036, allocations: 15.98 kB / 0.5621 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.0104, allocations: 12.11 kB / 0.5621 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01041, allocations: 15.98 kB / 0.5621 GB, free: 9.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.964e-05/0.01046, allocations: 139.2 kB / 0.5623 GB, free: 9.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01046, allocations: 0 / 0.5623 GB, free: 9.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.01064, allocations: 35.89 kB / 0.5623 GB, free: 9.062 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 8.29e-05/0.01072, allocations: 99.23 kB / 0.5624 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.01087, allocations: 75.59 kB / 0.5625 GB, free: 8.875 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01087, allocations: 0 / 0.5625 GB, free: 8.875 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.01092, allocations: 39.67 kB / 0.5625 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.01112, allocations: 19.98 kB / 0.5625 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.01162, allocations: 233.8 kB / 0.5627 GB, free: 8.559 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.01166, allocations: 70.02 kB / 0.5628 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.01172, allocations: 16 kB / 0.5628 GB, free: 8.457 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.01176, allocations: 20.48 kB / 0.5628 GB, free: 8.438 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01176, allocations: 0 / 0.5628 GB, free: 8.438 MB / 490.7 MB Notification: Performance of Templates: time 0.002896/0.01466, allocations: 1.561 MB / 0.5644 GB, free: 6.895 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.7693594230804592]