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.008897/0.008897, allocations: 102.3 kB / 15.73 MB, free: 6.008 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.001488/0.001489, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4279/0.4279, allocations: 54.95 MB / 324.9 MB, free: 4 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.001545/0.001545, allocations: 68.38 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1524, allocations: 59.59 MB / 0.5038 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.00299/0.1554, allocations: 1.739 MB / 0.5055 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1566, allocations: 0.6839 MB / 0.5062 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.1567, allocations: 5.312 kB / 0.5062 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.1568, allocations: 11.86 kB / 0.5062 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.1569, allocations: 17.11 kB / 0.5062 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.1574, allocations: 176.6 kB / 0.5064 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1576, allocations: 125 kB / 0.5065 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1578, allocations: 42.72 kB / 0.5065 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1579, allocations: 65.89 kB / 0.5066 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.158, allocations: 52.08 kB / 0.5067 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.1581, allocations: 11 kB / 0.5067 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1582, allocations: 51.45 kB / 0.5067 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.1582, allocations: 29.41 kB / 0.5067 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.1583, allocations: 57.45 kB / 0.5068 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1585, allocations: 140.8 kB / 0.5069 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1585, allocations: 0 / 0.5069 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1585, allocations: 1.375 kB / 0.5069 GB, free: 7.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1585, allocations: 0 / 0.5069 GB, free: 7.246 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.0006036/0.1591, allocations: 445.6 kB / 0.5074 GB, free: 6.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1592, allocations: 9.625 kB / 0.5074 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/0.16, allocations: 109 kB / 0.5075 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1602, allocations: 193 kB / 0.5077 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.1603, allocations: 66.41 kB / 0.5077 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1603, allocations: 5.938 kB / 0.5077 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.1608, allocations: 167 kB / 0.5079 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1609, allocations: 0 / 0.5079 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1609, allocations: 1.188 kB / 0.5079 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1609, allocations: 10.67 kB / 0.5079 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.1616, allocations: 160 kB / 0.508 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.1627, allocations: 489.4 kB / 0.5085 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/0.1637, allocations: 221.6 kB / 0.5087 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.164, allocations: 84.89 kB / 0.5088 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.164, allocations: 8 kB / 0.5088 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.164, allocations: 38.5 kB / 0.5088 GB, free: 5.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1641, allocations: 3.938 kB / 0.5089 GB, free: 5.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001018/0.1651, allocations: 265.5 kB / 0.5091 GB, free: 5.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1651, allocations: 51.41 kB / 0.5092 GB, free: 5.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.1652, allocations: 133.8 kB / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1652, allocations: 25.7 kB / 0.5093 GB, free: 4.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.1653, allocations: 112.1 kB / 0.5094 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1653, allocations: 27.64 kB / 0.5094 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.1654, allocations: 21.72 kB / 0.5095 GB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.1655, allocations: 318.8 kB / 0.5098 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.1658, allocations: 79.92 kB / 0.5098 GB, free: 4.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.1661, allocations: 98.47 kB / 0.5099 GB, free: 4.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.1666, allocations: 158.4 kB / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.1666, allocations: 0 / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005909/0.1672, allocations: 209.3 kB / 0.5103 GB, free: 3.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1672, allocations: 8 kB / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1673, allocations: 0 / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1673, allocations: 0 / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.1675, allocations: 35.95 kB / 0.5103 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1676, allocations: 8.047 kB / 0.5103 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1677, allocations: 19.97 kB / 0.5104 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1678, allocations: 8 kB / 0.5104 GB, free: 3.855 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 8.059e-05/0.1678, allocations: 117.8 kB / 0.5105 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1679, allocations: 11.84 kB / 0.5105 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/0.1685, allocations: 202.2 kB / 0.5107 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.1686, allocations: 7.984 kB / 0.5107 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1686, allocations: 0 / 0.5107 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1686, allocations: 384 / 0.5107 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.1688, allocations: 226.3 kB / 0.5109 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1688, allocations: 4 kB / 0.5109 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.169, allocations: 47.83 kB / 0.511 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.169, allocations: 0 / 0.511 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.169, allocations: 3.984 kB / 0.511 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.169, allocations: 0 / 0.511 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.169, allocations: 4 kB / 0.511 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.1696, allocations: 283.2 kB / 0.5112 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.1697, allocations: 96.8 kB / 0.5113 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1697, allocations: 0 / 0.5113 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.17, allocations: 31.95 kB / 0.5114 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1701, allocations: 15.92 kB / 0.5114 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.1701, allocations: 7.984 kB / 0.5114 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.052e-05/0.1702, allocations: 103.3 kB / 0.5115 GB, free: 2.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1702, allocations: 0 / 0.5115 GB, free: 2.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1705, allocations: 20 kB / 0.5115 GB, free: 2.59 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.0001488/0.1706, allocations: 99.19 kB / 0.5116 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.1713, allocations: 167.8 kB / 0.5117 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1713, allocations: 0 / 0.5117 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1716, allocations: 79.84 kB / 0.5118 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.172, allocations: 10.34 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.1727, allocations: 259.6 kB / 0.5121 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.1729, allocations: 0.6988 MB / 0.5128 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.173, allocations: 23.97 kB / 0.5128 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.173, allocations: 11.44 kB / 0.5128 GB, free: 1.199 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.173, allocations: 0 / 0.5128 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Templates: time 0.0038/0.1768, allocations: 1.477 MB / 0.5142 GB, free: 15.73 MB / 398.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)