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.001377/0.001377, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002438/0.002438, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.002742/0.002742, allocations: 234.8 kB / 259.8 MB, free: 12.84 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 1.089/1.089, allocations: 138.4 MB / 454.7 MB, free: 1.488 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.252e-06/1.252e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.765e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003627/0.003655, allocations: 1.761 MB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.005112, allocations: 0.6901 MB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.005197, allocations: 4 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.005246, allocations: 11.86 kB / 0.5568 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.005327, allocations: 19.73 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.005997, allocations: 187.5 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.006243, allocations: 123.6 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.006392, allocations: 41.55 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.006627, allocations: 75.86 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006728, allocations: 47.88 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.006759, allocations: 8 kB / 0.5572 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.00691, allocations: 47.97 kB / 0.5573 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.006953, allocations: 27.89 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.007019, allocations: 43.89 kB / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.007333, allocations: 175.3 kB / 0.5575 GB, free: 13.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007335, allocations: 0 / 0.5575 GB, free: 13.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007336, allocations: 0 / 0.5575 GB, free: 13.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00734, allocations: 0 / 0.5575 GB, free: 13.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.0007047/0.008045, allocations: 369.6 kB / 0.5579 GB, free: 13.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.008088, allocations: 16.75 kB / 0.5579 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.009237, allocations: 144.6 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.009548, allocations: 150.2 kB / 0.5582 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.009689, allocations: 115.4 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.009725, allocations: 8.375 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.01035, allocations: 225.2 kB / 0.5585 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.01036, allocations: 0 / 0.5585 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.01039, allocations: 4 kB / 0.5585 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01039, allocations: 0 / 0.5585 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.01108, allocations: 167.7 kB / 0.5587 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.01227, allocations: 402.9 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.01336, allocations: 214.3 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.01368, allocations: 76.91 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.01372, allocations: 8 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.01377, allocations: 38.48 kB / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.01377, allocations: 0 / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001144/0.01491, allocations: 257.4 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.01496, allocations: 55.34 kB / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.01512, allocations: 149 kB / 0.5598 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.01516, allocations: 25.7 kB / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.01526, allocations: 120.2 kB / 0.56 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.01528, allocations: 7.906 kB / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.01535, allocations: 29.7 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.01553, allocations: 326.8 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.01589, allocations: 67.92 kB / 0.5604 GB, free: 10.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.01623, allocations: 102.4 kB / 0.5605 GB, free: 10.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.01688, allocations: 162.4 kB / 0.5606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01689, allocations: 0 / 0.5606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007785/0.01766, allocations: 209.4 kB / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.01769, allocations: 8 kB / 0.5608 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01769, allocations: 0 / 0.5608 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.01772, allocations: 3.938 kB / 0.5608 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.01802, allocations: 39.89 kB / 0.5609 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01802, allocations: 0 / 0.5609 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.01824, allocations: 32.2 kB / 0.5609 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.01826, allocations: 4 kB / 0.5609 GB, free: 9.895 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 0.0001421/0.0184, allocations: 117.8 kB / 0.561 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.01846, allocations: 11.95 kB / 0.561 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.0193, allocations: 210.2 kB / 0.5612 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.01931, allocations: 7.875 kB / 0.5612 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01932, allocations: 0 / 0.5612 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.01932, allocations: 7.984 kB / 0.5612 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.0196, allocations: 158.2 kB / 0.5614 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0196, allocations: 0 / 0.5614 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.01984, allocations: 31.95 kB / 0.5614 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01985, allocations: 0 / 0.5614 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01986, allocations: 4 kB / 0.5614 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.01987, allocations: 4 kB / 0.5614 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.01987, allocations: 3.938 kB / 0.5614 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.02087, allocations: 283.3 kB / 0.5617 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.02089, allocations: 11.95 kB / 0.5617 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.02091, allocations: 0 / 0.5617 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.02123, allocations: 31.95 kB / 0.5617 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.02128, allocations: 11.92 kB / 0.5618 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.0213, allocations: 7.984 kB / 0.5618 GB, free: 8.945 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.02141, allocations: 111.2 kB / 0.5619 GB, free: 8.836 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02141, allocations: 0 / 0.5619 GB, free: 8.836 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.02172, allocations: 27.89 kB / 0.5619 GB, free: 8.809 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.000157/0.02188, allocations: 91.25 kB / 0.562 GB, free: 8.707 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007371/0.02261, allocations: 167.8 kB / 0.5621 GB, free: 8.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02262, allocations: 0 / 0.5621 GB, free: 8.543 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.02296, allocations: 84.05 kB / 0.5622 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.02326, allocations: 15.98 kB / 0.5622 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.02405, allocations: 264.4 kB / 0.5625 GB, free: 8.164 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.02415, allocations: 95.92 kB / 0.5626 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.02425, allocations: 16 kB / 0.5626 GB, free: 8.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.02432, allocations: 16.48 kB / 0.5626 GB, free: 8.023 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02432, allocations: 4 kB / 0.5626 GB, free: 8.02 MB / 490.7 MB Notification: Performance of Templates: time 0.005025/0.02934, allocations: 1.552 MB / 0.5641 GB, free: 6.484 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.504566557938233]