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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.4286/0.4286, allocations: 54.41 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001427/0.001427, allocations: 184.1 kB / 75.6 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.705/1.705, allocations: 194.3 MB / 283.5 MB, free: 14.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001698/0.001698, allocations: 123 kB / 341.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.091e-05, allocations: 4 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3968, allocations: 57.65 MB / 463.2 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5246, allocations: 86.53 MB / 0.5368 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.525, allocations: 75.95 kB / 0.5369 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.5402, allocations: 4.957 MB / 0.5417 GB, free: 9.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5403, allocations: 0 / 0.5417 GB, free: 9.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.5403, allocations: 4 kB / 0.5417 GB, free: 9.676 MB / 394.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.0005705/0.5409, allocations: 414.1 kB / 0.5421 GB, free: 9.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.541, allocations: 12.69 kB / 0.5421 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.5417, allocations: 111.8 kB / 0.5422 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5418, allocations: 180.3 kB / 0.5424 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.542, allocations: 67.36 kB / 0.5425 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.542, allocations: 8 kB / 0.5425 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001832/0.5422, allocations: 71.98 kB / 0.5425 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.5424, allocations: 113.4 kB / 0.5427 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5424, allocations: 1.312 kB / 0.5427 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.5424, allocations: 0 / 0.5427 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5424, allocations: 4 kB / 0.5427 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.5435, allocations: 475.9 kB / 0.5431 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.5441, allocations: 162.5 kB / 0.5433 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.5442, allocations: 46.03 kB / 0.5433 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.5443, allocations: 0 / 0.5433 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5443, allocations: 42.52 kB / 0.5433 GB, free: 7.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.5443, allocations: 0 / 0.5433 GB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002625/0.5446, allocations: 101.7 kB / 0.5434 GB, free: 7.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.5446, allocations: 55.41 kB / 0.5435 GB, free: 7.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.5448, allocations: 117 kB / 0.5436 GB, free: 7.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5448, allocations: 29.7 kB / 0.5436 GB, free: 7.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.5449, allocations: 108.2 kB / 0.5437 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.5449, allocations: 21.72 kB / 0.5438 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5449, allocations: 4 kB / 0.5438 GB, free: 7.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5451, allocations: 318.8 kB / 0.5441 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.5451, allocations: 36 kB / 0.5441 GB, free: 7.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.5452, allocations: 46.56 kB / 0.5441 GB, free: 6.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.5453, allocations: 31.98 kB / 0.5442 GB, free: 6.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.5453, allocations: 0 / 0.5442 GB, free: 6.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001913/0.5455, allocations: 123.7 kB / 0.5443 GB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5455, allocations: 7.953 kB / 0.5443 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.5455, allocations: 0 / 0.5443 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5455, allocations: 4 kB / 0.5443 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.5458, allocations: 39.95 kB / 0.5443 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5458, allocations: 5.578 kB / 0.5444 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.546, allocations: 40.02 kB / 0.5444 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.5461, allocations: 0 / 0.5444 GB, free: 6.723 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/0.5462, allocations: 108.9 kB / 0.5445 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.5462, allocations: 7.906 kB / 0.5445 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.5465, allocations: 118.2 kB / 0.5446 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5465, allocations: 4 kB / 0.5446 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5465, allocations: 3.984 kB / 0.5446 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5465, allocations: 0 / 0.5446 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.5467, allocations: 212.7 kB / 0.5448 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5467, allocations: 3.5 kB / 0.5448 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.547, allocations: 47.89 kB / 0.5449 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.547, allocations: 0 / 0.5449 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.547, allocations: 4 kB / 0.5449 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.547, allocations: 3.953 kB / 0.5449 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.547, allocations: 5.938 kB / 0.5449 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.5473, allocations: 191.4 kB / 0.5451 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.5473, allocations: 92.94 kB / 0.5452 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5474, allocations: 0 / 0.5452 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.5477, allocations: 47.95 kB / 0.5452 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.5477, allocations: 3.953 kB / 0.5452 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.5478, allocations: 7.984 kB / 0.5452 GB, free: 5.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.5478, allocations: 105.7 kB / 0.5453 GB, free: 5.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5478, allocations: 4 kB / 0.5453 GB, free: 5.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.5481, allocations: 20 kB / 0.5453 GB, free: 5.68 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.5482, allocations: 95.19 kB / 0.5454 GB, free: 5.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.5484, allocations: 75.98 kB / 0.5455 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5484, allocations: 0 / 0.5455 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.5485, allocations: 47.92 kB / 0.5455 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5487, allocations: 0 / 0.5455 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.5491, allocations: 148.1 kB / 0.5457 GB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.5494, allocations: 0.7041 MB / 0.5464 GB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.5495, allocations: 16.17 kB / 0.5464 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.5496, allocations: 16.64 kB / 0.5464 GB, free: 4.527 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5496, allocations: 0 / 0.5464 GB, free: 4.527 MB / 394.7 MB Notification: Performance of Templates: time 0.00337/0.5529, allocations: 1.25 MB / 0.5476 GB, free: 3.316 MB / 394.7 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)