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.0009793/0.0009793, allocations: 93.06 kB / 19.65 MB, free: 280 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.001048/0.001048, allocations: 169 kB / 23.02 MB, free: 1.547 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.9981/0.9981, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.001643/0.001643, allocations: 222.1 kB / 260.2 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.7851/0.7851, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.914e-06/1.914e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.341e-05, allocations: 10.25 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002665/0.002699, allocations: 1.815 MB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.003765, allocations: 0.7096 MB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.00385, allocations: 4 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.003895, allocations: 15.8 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.003974, allocations: 11.86 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.004547, allocations: 183.4 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.005013, allocations: 135.6 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005149, allocations: 33.61 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.005362, allocations: 83.8 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.005434, allocations: 35.88 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.005459, allocations: 12 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.005565, allocations: 55.91 kB / 0.5581 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.005593, allocations: 31.89 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.005635, allocations: 43.84 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.005876, allocations: 135.6 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005879, allocations: 0 / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.00588, allocations: 0 / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.005885, allocations: 0 / 0.5583 GB, free: 13.2 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.0004952/0.00638, allocations: 471.8 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.006426, allocations: 8.75 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.006924, allocations: 112.7 kB / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.007179, allocations: 153 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.174e-05/0.007271, allocations: 111.4 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.007292, allocations: 12.38 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.007594, allocations: 202 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007603, allocations: 0 / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.007622, allocations: 4 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.007631, allocations: 0 / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.007733, allocations: 59.88 kB / 0.5594 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.008363, allocations: 421.1 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.008687, allocations: 150.9 kB / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.008737, allocations: 35.8 kB / 0.56 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.008758, allocations: 0 / 0.56 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.008786, allocations: 45.39 kB / 0.5601 GB, free: 11.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.008788, allocations: 0 / 0.5601 GB, free: 11.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002831/0.009071, allocations: 121.6 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.009106, allocations: 59.34 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.009213, allocations: 204.5 kB / 0.5604 GB, free: 10.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.009235, allocations: 29.7 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.009303, allocations: 159 kB / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.009323, allocations: 11.86 kB / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.009371, allocations: 35.36 kB / 0.5606 GB, free: 10.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.009491, allocations: 0.4923 MB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.009543, allocations: 23.98 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.009608, allocations: 55.03 kB / 0.5612 GB, free: 10.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.009712, allocations: 86.97 kB / 0.5613 GB, free: 9.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009715, allocations: 0 / 0.5613 GB, free: 9.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001566/0.009872, allocations: 109.5 kB / 0.5614 GB, free: 9.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.009888, allocations: 4 kB / 0.5614 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.009894, allocations: 4 kB / 0.5614 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.009913, allocations: 3.938 kB / 0.5614 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01004, allocations: 27.97 kB / 0.5614 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01004, allocations: 0 / 0.5614 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.01011, allocations: 23.94 kB / 0.5615 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01012, allocations: 8 kB / 0.5615 GB, free: 9.746 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.501e-05/0.01019, allocations: 156.6 kB / 0.5616 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01022, allocations: 11.95 kB / 0.5616 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.0104, allocations: 110.4 kB / 0.5617 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01041, allocations: 3.938 kB / 0.5617 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01041, allocations: 4 kB / 0.5617 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01041, allocations: 3.984 kB / 0.5617 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.01056, allocations: 169.9 kB / 0.5619 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01056, allocations: 0 / 0.5619 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.01064, allocations: 27.97 kB / 0.5619 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01064, allocations: 0 / 0.5619 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01066, allocations: 7.984 kB / 0.5619 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01066, allocations: 0 / 0.5619 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01066, allocations: 3.938 kB / 0.5619 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01084, allocations: 247.8 kB / 0.5622 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.01085, allocations: 11.95 kB / 0.5622 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.01086, allocations: 0 / 0.5622 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01096, allocations: 23.97 kB / 0.5622 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.011, allocations: 7.938 kB / 0.5622 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01101, allocations: 3.984 kB / 0.5622 GB, free: 8.898 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.01108, allocations: 147.2 kB / 0.5624 GB, free: 8.754 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 0.5624 GB, free: 8.754 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.01126, allocations: 31.89 kB / 0.5624 GB, free: 8.723 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.0001041/0.01136, allocations: 99.25 kB / 0.5625 GB, free: 8.613 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.01152, allocations: 75.59 kB / 0.5626 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01152, allocations: 3.938 kB / 0.5626 GB, free: 8.531 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.01157, allocations: 43.66 kB / 0.5626 GB, free: 8.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01178, allocations: 19.98 kB / 0.5626 GB, free: 8.465 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.01235, allocations: 225.8 kB / 0.5628 GB, free: 8.219 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.01239, allocations: 70.14 kB / 0.5629 GB, free: 8.133 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.01245, allocations: 19.98 kB / 0.5629 GB, free: 8.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.0125, allocations: 12.5 kB / 0.5629 GB, free: 8.102 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0125, allocations: 4 kB / 0.5629 GB, free: 8.098 MB / 490.7 MB Notification: Performance of Templates: time 0.003971/0.01647, allocations: 1.709 MB / 0.5646 GB, free: 6.402 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.5798903983086348]