Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 193.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4584/0.4584, allocations: 54.93 MB / 324.3 MB, free: 144 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.179, allocations: 59.59 MB / 454.2 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.3488/0.5278, allocations: 1.786 MB / 456 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.5301, allocations: 0.6877 MB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.5303, allocations: 2.969 kB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.788e-05/0.5305, allocations: 7.828 kB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.5307, allocations: 14.22 kB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.5317, allocations: 154.4 kB / 456.9 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.5319, allocations: 119.3 kB / 457 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.5321, allocations: 41.39 kB / 457 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.5324, allocations: 59.78 kB / 457.1 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.5325, allocations: 43.91 kB / 457.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.5326, allocations: 12.23 kB / 457.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.5328, allocations: 41.53 kB / 457.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.5328, allocations: 26.52 kB / 457.2 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.5329, allocations: 55.88 kB / 457.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.5332, allocations: 135.9 kB / 457.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5332, allocations: 9.562 kB / 457.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5333, allocations: 0 / 457.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.5333, allocations: 0 / 457.4 MB, free: 38.44 MB / 382.1 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.0007005/0.534, allocations: 436.4 kB / 457.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.534, allocations: 8.969 kB / 457.9 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.5354, allocations: 112.5 kB / 458 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5355, allocations: 179 kB / 458.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5357, allocations: 68.05 kB / 458.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.5357, allocations: 12.72 kB / 458.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.5366, allocations: 173 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5366, allocations: 0.8125 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.5367, allocations: 2.812 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5367, allocations: 2.078 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.5377, allocations: 160.1 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.5393, allocations: 495.7 kB / 459 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.541, allocations: 224.6 kB / 459.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.5415, allocations: 80.2 kB / 459.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.5415, allocations: 3.328 kB / 459.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5416, allocations: 34.81 kB / 459.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.5416, allocations: 0 / 459.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001573/0.5432, allocations: 268.1 kB / 459.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.5432, allocations: 54.59 kB / 459.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.5434, allocations: 136.3 kB / 459.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.5434, allocations: 28.3 kB / 459.8 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.5435, allocations: 108.3 kB / 460 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.5435, allocations: 27.34 kB / 460 MB, free: 37.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.5436, allocations: 22.94 kB / 460 MB, free: 37.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.5437, allocations: 324.8 kB / 460.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.5442, allocations: 67.05 kB / 460.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.5447, allocations: 97.45 kB / 460.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.5455, allocations: 166.4 kB / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5455, allocations: 1.562 kB / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009811/0.5465, allocations: 198.9 kB / 460.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5465, allocations: 11.19 kB / 460.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5465, allocations: 0.5 kB / 460.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.5466, allocations: 3.031 kB / 460.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.547, allocations: 42.55 kB / 460.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5471, allocations: 0 / 460.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.5474, allocations: 34.23 kB / 460.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.5475, allocations: 2.875 kB / 460.9 MB, free: 36.62 MB / 382.1 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.0001168/0.5476, allocations: 117.6 kB / 461 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.5477, allocations: 13.98 kB / 461.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.5488, allocations: 205.9 kB / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5488, allocations: 0 / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5488, allocations: 0 / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5488, allocations: 0 / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.5492, allocations: 236.2 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5492, allocations: 3.938 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.5495, allocations: 33.09 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5496, allocations: 3.938 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.5496, allocations: 8.625 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5496, allocations: 0.5625 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5496, allocations: 0 / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5507, allocations: 290.5 kB / 461.8 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.5508, allocations: 81.02 kB / 461.9 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.5508, allocations: 8.172 kB / 461.9 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.5513, allocations: 32.64 kB / 461.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.5514, allocations: 3.562 kB / 461.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.5515, allocations: 14.44 kB / 462 MB, free: 36.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.769e-05/0.5516, allocations: 105.2 kB / 462.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5516, allocations: 0 / 462.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004814/0.5521, allocations: 28.56 kB / 462.1 MB, free: 35.94 MB / 382.1 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.0001412/0.5522, allocations: 100.6 kB / 462.2 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009934/0.5532, allocations: 162.2 kB / 462.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5533, allocations: 0.75 kB / 462.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.5537, allocations: 84.25 kB / 462.4 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.5543, allocations: 13.19 kB / 462.4 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.5552, allocations: 287.2 kB / 462.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.5554, allocations: 0.701 MB / 463.4 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.5555, allocations: 19.19 kB / 463.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.5556, allocations: 17.78 kB / 463.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5557, allocations: 0 / 463.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of Templates: time 0.005514/0.5612, allocations: 1.369 MB / 464.8 MB, free: 34.89 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)