Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00115/0.00115, allocations: 109.9 kB / 16.41 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.001141/0.001141, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7879/0.7879, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 73.02 kB / 0.582 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003167/0.1567, allocations: 1.775 MB / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1581, allocations: 0.6631 MB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.98e-05/0.1582, allocations: 0 / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.1583, allocations: 11.86 kB / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.335e-05/0.1584, allocations: 15.8 kB / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.159, allocations: 175.4 kB / 0.6629 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1593, allocations: 127.6 kB / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1594, allocations: 45.09 kB / 0.6631 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1596, allocations: 63.83 kB / 0.6631 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1597, allocations: 43.78 kB / 0.6632 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.1598, allocations: 11.94 kB / 0.6632 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1599, allocations: 47.97 kB / 0.6632 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.16, allocations: 35.89 kB / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.16, allocations: 51.72 kB / 0.6633 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1603, allocations: 155.5 kB / 0.6635 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1603, allocations: 4 kB / 0.6635 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1603, allocations: 0 / 0.6635 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1603, allocations: 0 / 0.6635 GB, free: 7.039 MB / 0.4981 GB 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.000723/0.1611, allocations: 427 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1611, allocations: 8.031 kB / 0.6639 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.1621, allocations: 116.7 kB / 0.664 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1622, allocations: 184 kB / 0.6642 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1623, allocations: 71.89 kB / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.1624, allocations: 8.375 kB / 0.6642 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.163, allocations: 175.3 kB / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.163, allocations: 0 / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.163, allocations: 0 / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.163, allocations: 4 kB / 0.6644 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.1637, allocations: 155.8 kB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1649, allocations: 485.7 kB / 0.665 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.166, allocations: 218.3 kB / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.1663, allocations: 88.89 kB / 0.6653 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1664, allocations: 4 kB / 0.6653 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1664, allocations: 30.56 kB / 0.6654 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.1664, allocations: 0 / 0.6654 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.00111/0.1675, allocations: 265.5 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1676, allocations: 55.34 kB / 0.6657 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1677, allocations: 139.8 kB / 0.6658 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1677, allocations: 25.7 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.1678, allocations: 116.2 kB / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1678, allocations: 15.75 kB / 0.6659 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.1679, allocations: 29.7 kB / 0.666 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.168, allocations: 322.8 kB / 0.6663 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1683, allocations: 71.92 kB / 0.6664 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1687, allocations: 94.5 kB / 0.6664 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.1693, allocations: 162.6 kB / 0.6666 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1693, allocations: 4 kB / 0.6666 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000741/0.1701, allocations: 201.4 kB / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1701, allocations: 7.984 kB / 0.6668 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1701, allocations: 0 / 0.6668 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1701, allocations: 8 kB / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.1704, allocations: 35.95 kB / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1705, allocations: 0 / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.1707, allocations: 27.88 kB / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1707, allocations: 11.92 kB / 0.6669 GB, free: 3.297 MB / 0.4981 GB 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 0.0001417/0.1709, allocations: 113.8 kB / 0.667 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.1709, allocations: 15.84 kB / 0.667 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.1717, allocations: 210.1 kB / 0.6672 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1717, allocations: 0 / 0.6672 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1717, allocations: 4 kB / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1717, allocations: 0 / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.172, allocations: 242.1 kB / 0.6674 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.172, allocations: 0 / 0.6674 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1723, allocations: 35.95 kB / 0.6675 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1723, allocations: 3.938 kB / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.1723, allocations: 7.938 kB / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1723, allocations: 0 / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1723, allocations: 0 / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/0.1731, allocations: 287.2 kB / 0.6678 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1731, allocations: 81.02 kB / 0.6678 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.1732, allocations: 12.11 kB / 0.6678 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.1735, allocations: 39.95 kB / 0.6679 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1735, allocations: 0 / 0.6679 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1736, allocations: 7.984 kB / 0.6679 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.1736, allocations: 105 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1736, allocations: 0 / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002792/0.1739, allocations: 27.91 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB 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.0001336/0.1741, allocations: 99.23 kB / 0.6681 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006986/0.1748, allocations: 167.8 kB / 0.6683 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1748, allocations: 0 / 0.6683 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.1751, allocations: 83.98 kB / 0.6684 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1755, allocations: 8 kB / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.1762, allocations: 277.2 kB / 0.6686 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1764, allocations: 0.7041 MB / 0.6693 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.1765, allocations: 15.42 kB / 0.6693 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1765, allocations: 0 / 0.6693 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of Templates: time 0.003286/0.1798, allocations: 1.6 MB / 0.6709 GB, free: 15.02 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)