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.006088/0.006087, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001294/0.001294, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.509/1.509, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4633/0.4633, allocations: 54.95 MB / 324.8 MB, free: 36 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.001642/0.001642, allocations: 67.86 kB / 456.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1495, allocations: 59.59 MB / 0.5038 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.003116/0.1527, allocations: 1.732 MB / 0.5055 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1541, allocations: 0.6916 MB / 0.5061 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.1542, allocations: 5.281 kB / 0.5062 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.1542, allocations: 11.86 kB / 0.5062 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.1543, allocations: 14.59 kB / 0.5062 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.155, allocations: 173.9 kB / 0.5063 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1552, allocations: 125.2 kB / 0.5065 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1553, allocations: 46.34 kB / 0.5065 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1554, allocations: 62.5 kB / 0.5066 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.1555, allocations: 50.66 kB / 0.5066 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.1556, allocations: 14.89 kB / 0.5066 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1557, allocations: 44.84 kB / 0.5067 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.1557, allocations: 29.41 kB / 0.5067 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1558, allocations: 57.45 kB / 0.5068 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.156, allocations: 144.8 kB / 0.5069 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.156, allocations: 0 / 0.5069 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.156, allocations: 3.938 kB / 0.5069 GB, free: 7.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.156, allocations: 4 kB / 0.5069 GB, free: 7.473 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.0005468/0.1566, allocations: 439 kB / 0.5073 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1566, allocations: 9.25 kB / 0.5073 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/0.1575, allocations: 117 kB / 0.5074 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1576, allocations: 185.9 kB / 0.5076 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.1577, allocations: 65.88 kB / 0.5077 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1577, allocations: 13.16 kB / 0.5077 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.1583, allocations: 167.9 kB / 0.5079 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1583, allocations: 0 / 0.5079 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1583, allocations: 5.312 kB / 0.5079 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1583, allocations: 1.375 kB / 0.5079 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.159, allocations: 158.5 kB / 0.508 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1602, allocations: 493.7 kB / 0.5085 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1614, allocations: 218.3 kB / 0.5087 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.1618, allocations: 80.91 kB / 0.5088 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1619, allocations: 0 / 0.5088 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1619, allocations: 38.5 kB / 0.5088 GB, free: 5.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.1619, allocations: 0 / 0.5088 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001032/0.1629, allocations: 269.4 kB / 0.5091 GB, free: 5.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.163, allocations: 51.41 kB / 0.5091 GB, free: 5.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1631, allocations: 133.8 kB / 0.5092 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1631, allocations: 29.7 kB / 0.5093 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.1632, allocations: 112.1 kB / 0.5094 GB, free: 4.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1632, allocations: 27.62 kB / 0.5094 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1633, allocations: 25.7 kB / 0.5094 GB, free: 4.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1633, allocations: 322.8 kB / 0.5097 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.1637, allocations: 75.92 kB / 0.5098 GB, free: 4.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.164, allocations: 90.5 kB / 0.5099 GB, free: 4.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.1646, allocations: 170.6 kB / 0.5101 GB, free: 4.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1646, allocations: 0 / 0.5101 GB, free: 4.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006506/0.1652, allocations: 205.3 kB / 0.5102 GB, free: 4.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1653, allocations: 7.984 kB / 0.5103 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1653, allocations: 0 / 0.5103 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1653, allocations: 0 / 0.5103 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1656, allocations: 35.95 kB / 0.5103 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1656, allocations: 8 kB / 0.5103 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1658, allocations: 23.97 kB / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1659, allocations: 7.984 kB / 0.5103 GB, free: 3.922 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 7.854e-05/0.166, allocations: 113.8 kB / 0.5104 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.166, allocations: 11.84 kB / 0.5104 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/0.1667, allocations: 206.2 kB / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1668, allocations: 0 / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1668, allocations: 0 / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1668, allocations: 0 / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.167, allocations: 238.2 kB / 0.5109 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.167, allocations: 4 kB / 0.5109 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.1672, allocations: 35.89 kB / 0.5109 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1672, allocations: 0 / 0.5109 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1672, allocations: 4 kB / 0.5109 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1672, allocations: 0 / 0.5109 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1673, allocations: 0 / 0.5109 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.168, allocations: 283.4 kB / 0.5112 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.168, allocations: 96.8 kB / 0.5113 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.168, allocations: 4 kB / 0.5113 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.1684, allocations: 43.88 kB / 0.5113 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1684, allocations: 4 kB / 0.5113 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1684, allocations: 7.984 kB / 0.5113 GB, free: 2.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.1685, allocations: 107.2 kB / 0.5114 GB, free: 2.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1685, allocations: 0 / 0.5114 GB, free: 2.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1688, allocations: 24 kB / 0.5115 GB, free: 2.656 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.0001073/0.1689, allocations: 99.23 kB / 0.5116 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.1696, allocations: 163.8 kB / 0.5117 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1696, allocations: 0 / 0.5117 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.1699, allocations: 83.86 kB / 0.5118 GB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1703, allocations: 6.312 kB / 0.5118 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/0.1709, allocations: 255.5 kB / 0.512 GB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.1711, allocations: 0.7066 MB / 0.5127 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.1712, allocations: 15.98 kB / 0.5127 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.1712, allocations: 15.42 kB / 0.5128 GB, free: 1.27 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1712, allocations: 0 / 0.5128 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Templates: time 0.003846/0.1751, allocations: 1.475 MB / 0.5142 GB, free: 15.8 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)