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.005242/0.005241, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001245/0.001245, allocations: 190 kB / 16.67 MB, free: 6.379 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4375/0.4375, allocations: 54.95 MB / 324.8 MB, free: 48 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.001496/0.001496, allocations: 74.77 kB / 456.3 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1545, allocations: 59.59 MB / 0.5038 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.003826/0.1584, allocations: 1.743 MB / 0.5055 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1599, allocations: 0.6872 MB / 0.5061 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.16, allocations: 1.281 kB / 0.5061 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.457e-05/0.1601, allocations: 11.86 kB / 0.5062 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.1602, allocations: 18.61 kB / 0.5062 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.161, allocations: 173.3 kB / 0.5063 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1612, allocations: 124.1 kB / 0.5065 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1614, allocations: 51.48 kB / 0.5065 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1616, allocations: 56.52 kB / 0.5066 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1618, allocations: 52.08 kB / 0.5066 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.1618, allocations: 14.94 kB / 0.5066 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.162, allocations: 44.84 kB / 0.5067 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.162, allocations: 33.39 kB / 0.5067 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.1621, allocations: 56.09 kB / 0.5068 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1624, allocations: 144.8 kB / 0.5069 GB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1624, allocations: 1.375 kB / 0.5069 GB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1624, allocations: 0 / 0.5069 GB, free: 7.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1624, allocations: 0 / 0.5069 GB, free: 7.324 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.0007393/0.1632, allocations: 447 kB / 0.5073 GB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1632, allocations: 9.625 kB / 0.5073 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.1642, allocations: 107.7 kB / 0.5074 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1643, allocations: 194.4 kB / 0.5076 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.1644, allocations: 62.59 kB / 0.5077 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1645, allocations: 13.44 kB / 0.5077 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.165, allocations: 166.9 kB / 0.5078 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.165, allocations: 0 / 0.5078 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.165, allocations: 5.188 kB / 0.5079 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.165, allocations: 1.281 kB / 0.5079 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.1656, allocations: 160.9 kB / 0.508 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1666, allocations: 484.6 kB / 0.5085 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.1675, allocations: 225.2 kB / 0.5087 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1678, allocations: 88.89 kB / 0.5088 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1678, allocations: 0 / 0.5088 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1679, allocations: 34.5 kB / 0.5088 GB, free: 5.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1679, allocations: 3.938 kB / 0.5088 GB, free: 5.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008708/0.1687, allocations: 265.5 kB / 0.5091 GB, free: 5.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1688, allocations: 55.34 kB / 0.5091 GB, free: 5.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.1689, allocations: 133.8 kB / 0.5092 GB, free: 5.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1689, allocations: 25.7 kB / 0.5093 GB, free: 5.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.169, allocations: 116.1 kB / 0.5094 GB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.169, allocations: 23.64 kB / 0.5094 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.169, allocations: 25.72 kB / 0.5094 GB, free: 4.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.332e-05/0.1691, allocations: 322.8 kB / 0.5097 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1694, allocations: 67.92 kB / 0.5098 GB, free: 4.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.1696, allocations: 98.48 kB / 0.5099 GB, free: 4.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.1701, allocations: 166.6 kB / 0.51 GB, free: 4.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1701, allocations: 0 / 0.51 GB, free: 4.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005509/0.1707, allocations: 205.3 kB / 0.5102 GB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1707, allocations: 4 kB / 0.5102 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1707, allocations: 4.062 kB / 0.5102 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1707, allocations: 0 / 0.5102 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.171, allocations: 39.95 kB / 0.5103 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.171, allocations: 3.984 kB / 0.5103 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1712, allocations: 23.97 kB / 0.5103 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1712, allocations: 0 / 0.5103 GB, free: 3.941 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.649e-05/0.1713, allocations: 117.8 kB / 0.5104 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.1714, allocations: 15.78 kB / 0.5104 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.172, allocations: 202.2 kB / 0.5106 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.172, allocations: 7.984 kB / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.172, allocations: 0 / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.172, allocations: 0 / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1723, allocations: 234.3 kB / 0.5109 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1723, allocations: 0 / 0.5109 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.1725, allocations: 35.89 kB / 0.5109 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1725, allocations: 3.984 kB / 0.5109 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1725, allocations: 7.938 kB / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1725, allocations: 0 / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1725, allocations: 0 / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.1731, allocations: 295.2 kB / 0.5112 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1732, allocations: 92.98 kB / 0.5113 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1732, allocations: 8 kB / 0.5113 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.1735, allocations: 31.95 kB / 0.5113 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1736, allocations: 3.984 kB / 0.5113 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1736, allocations: 11.98 kB / 0.5113 GB, free: 2.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.1737, allocations: 103.3 kB / 0.5114 GB, free: 2.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1737, allocations: 0 / 0.5114 GB, free: 2.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.174, allocations: 20 kB / 0.5115 GB, free: 2.668 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.0001827/0.1742, allocations: 99.25 kB / 0.5115 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006038/0.1748, allocations: 163.8 kB / 0.5117 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1748, allocations: 0 / 0.5117 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.1751, allocations: 91.97 kB / 0.5118 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.1756, allocations: 10.19 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.0007888/0.1764, allocations: 247.5 kB / 0.512 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1767, allocations: 0.7066 MB / 0.5127 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.1768, allocations: 19.97 kB / 0.5127 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.1768, allocations: 15.44 kB / 0.5128 GB, free: 1.273 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1768, allocations: 0 / 0.5128 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Templates: time 0.003946/0.1808, allocations: 1.499 MB / 0.5142 GB, free: 15.78 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)