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.001363/0.001363, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001593/0.001593, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3713/0.3713, allocations: 54.98 MB / 325.4 MB, free: 0.7266 MB / 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.0006951/0.0006952, allocations: 16 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3543, allocations: 60.71 MB / 457.3 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.001454/0.3558, allocations: 1.41 MB / 458.7 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.3567, allocations: 0.6148 MB / 459.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.3567, allocations: 0 / 459.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.3568, allocations: 8.484 kB / 459.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.3569, allocations: 12.16 kB / 459.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.3573, allocations: 158.9 kB / 459.5 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3574, allocations: 73.16 kB / 459.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3576, allocations: 37.38 kB / 459.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3577, allocations: 48.02 kB / 459.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3578, allocations: 41.58 kB / 459.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3578, allocations: 2.719 kB / 459.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.3579, allocations: 35.42 kB / 459.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.3579, allocations: 25.33 kB / 459.8 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.358, allocations: 38.33 kB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.3581, allocations: 91.97 kB / 459.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.3581, allocations: 0 / 459.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3581, allocations: 3.656 kB / 459.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.3581, allocations: 0.7188 kB / 459.9 MB, free: 38.4 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.0004337/0.3585, allocations: 421.8 kB / 460.3 MB, free: 38.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.3586, allocations: 8.625 kB / 460.3 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.3594, allocations: 138.1 kB / 460.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.3595, allocations: 184.5 kB / 460.6 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.3596, allocations: 68.72 kB / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3597, allocations: 9.375 kB / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.3602, allocations: 195.3 kB / 460.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3602, allocations: 1.719 kB / 460.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3602, allocations: 0.8125 kB / 460.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3602, allocations: 7.281 kB / 460.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.3608, allocations: 190.4 kB / 461.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.3618, allocations: 0.503 MB / 461.6 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3628, allocations: 267.9 kB / 461.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3629, allocations: 5.984 kB / 461.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.3629, allocations: 34.5 kB / 461.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3629, allocations: 2.844 kB / 461.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001022/0.3639, allocations: 319.2 kB / 462.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.364, allocations: 54.78 kB / 462.3 MB, free: 37.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3641, allocations: 129.7 kB / 462.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3641, allocations: 32.05 kB / 462.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.3642, allocations: 110.6 kB / 462.5 MB, free: 37.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.3642, allocations: 20.86 kB / 462.6 MB, free: 37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.3642, allocations: 0 / 462.6 MB, free: 37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.3643, allocations: 324.7 kB / 462.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.3646, allocations: 85.22 kB / 463 MB, free: 36.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.3649, allocations: 119.1 kB / 463.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.3652, allocations: 88.47 kB / 463.2 MB, free: 36.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3652, allocations: 0 / 463.2 MB, free: 36.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006645/0.3659, allocations: 239.4 kB / 463.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3659, allocations: 5.719 kB / 463.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3659, allocations: 3.953 kB / 463.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3659, allocations: 4.062 kB / 463.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3662, allocations: 48.86 kB / 463.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3662, allocations: 0 / 463.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3664, allocations: 43.67 kB / 463.5 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3664, allocations: 10.97 kB / 463.5 MB, free: 36.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.3665, allocations: 120.7 kB / 463.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.3666, allocations: 6.625 kB / 463.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/0.3673, allocations: 238.5 kB / 463.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3673, allocations: 6.828 kB / 463.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3673, allocations: 0 / 463.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3674, allocations: 0.7031 kB / 463.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.3676, allocations: 234.7 kB / 464.1 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3676, allocations: 0.8125 kB / 464.1 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.3678, allocations: 46.05 kB / 464.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3678, allocations: 0 / 464.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3679, allocations: 3.469 kB / 464.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3679, allocations: 3.953 kB / 464.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3679, allocations: 0 / 464.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.3685, allocations: 324.9 kB / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3686, allocations: 84.48 kB / 464.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3686, allocations: 0.8125 kB / 464.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.3689, allocations: 48.95 kB / 464.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.369, allocations: 7.969 kB / 464.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.369, allocations: 9.844 kB / 464.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.3691, allocations: 108.9 kB / 464.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3691, allocations: 0 / 464.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3693, allocations: 23.5 kB / 464.7 MB, free: 35.88 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 (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 8.941e-05/0.3694, allocations: 101.4 kB / 464.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.3701, allocations: 196.4 kB / 465 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3701, allocations: 2.562 kB / 465 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.3704, allocations: 102.8 kB / 465.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3707, allocations: 5.125 kB / 465.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.3713, allocations: 308.6 kB / 465.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.837e-05/0.3714, allocations: 0.7013 MB / 466.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.3715, allocations: 18.03 kB / 466.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.3715, allocations: 14.34 kB / 466.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3715, allocations: 0 / 466.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of Templates: time 0.00286/0.3744, allocations: 1.311 MB / 467.5 MB, free: 34.82 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: