Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001035/0.001035, allocations: 105.7 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.001034/0.001034, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 66.83 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.152, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002863/0.1549, allocations: 1.768 MB / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1563, allocations: 0.667 MB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1564, allocations: 0 / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.037e-05/0.1565, allocations: 15.8 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.1566, allocations: 23.8 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.1573, allocations: 163.2 kB / 0.6679 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1575, allocations: 123.6 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1577, allocations: 56.78 kB / 0.668 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1578, allocations: 63.83 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.158, allocations: 47.77 kB / 0.6682 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.158, allocations: 16 kB / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1581, allocations: 43.97 kB / 0.6682 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1582, allocations: 31.89 kB / 0.6682 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1583, allocations: 55.72 kB / 0.6683 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1585, allocations: 151.4 kB / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1585, allocations: 0 / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1585, allocations: 0 / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1585, allocations: 0 / 0.6684 GB, free: 2.555 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.0006546/0.1592, allocations: 431.1 kB / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1593, allocations: 9.109 kB / 0.6689 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.1602, allocations: 112.6 kB / 0.669 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1603, allocations: 186 kB / 0.6691 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1604, allocations: 67.97 kB / 0.6692 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1605, allocations: 4.375 kB / 0.6692 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.161, allocations: 177.5 kB / 0.6694 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.161, allocations: 0 / 0.6694 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1611, allocations: 8 kB / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1611, allocations: 3.938 kB / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.1617, allocations: 155.8 kB / 0.6695 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1629, allocations: 485.7 kB / 0.67 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1639, allocations: 222.3 kB / 0.6702 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1643, allocations: 80.91 kB / 0.6703 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1643, allocations: 0 / 0.6703 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1643, allocations: 38.5 kB / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.1643, allocations: 0 / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001045/0.1654, allocations: 261.5 kB / 0.6706 GB, free: 184 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1654, allocations: 55.41 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1656, allocations: 141.8 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1656, allocations: 29.7 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1657, allocations: 104.2 kB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1657, allocations: 23.73 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.1658, allocations: 21.7 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1659, allocations: 318.8 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.1662, allocations: 79.91 kB / 0.6713 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.1665, allocations: 94.44 kB / 0.6714 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.1672, allocations: 170.6 kB / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1672, allocations: 0 / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006892/0.1679, allocations: 201.4 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1679, allocations: 4 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1679, allocations: 4 kB / 0.6718 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1679, allocations: 3.938 kB / 0.6718 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1682, allocations: 43.88 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1682, allocations: 0 / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1684, allocations: 31.88 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1685, allocations: 4 kB / 0.6719 GB, free: 14.8 MB / 0.5137 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.0001087/0.1686, allocations: 117.8 kB / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.1686, allocations: 7.906 kB / 0.672 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.1694, allocations: 218 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1694, allocations: 0 / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1694, allocations: 0 / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1694, allocations: 4 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1697, allocations: 234.4 kB / 0.6724 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1697, allocations: 3.984 kB / 0.6724 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1699, allocations: 31.95 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1699, allocations: 4 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1699, allocations: 3.938 kB / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.17, allocations: 0 / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.17, allocations: 0 / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.1707, allocations: 287.4 kB / 0.6727 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1708, allocations: 85.02 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1708, allocations: 7.938 kB / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.1712, allocations: 27.95 kB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1712, allocations: 11.92 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1712, allocations: 7.984 kB / 0.6729 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.649e-05/0.1713, allocations: 109.6 kB / 0.673 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1713, allocations: 4 kB / 0.673 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002861/0.1716, allocations: 23.91 kB / 0.673 GB, free: 13.54 MB / 0.5137 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.0001441/0.1718, allocations: 96.58 kB / 0.6731 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007251/0.1725, allocations: 171.8 kB / 0.6732 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1725, allocations: 0 / 0.6732 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.1729, allocations: 79.91 kB / 0.6733 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1733, allocations: 9.875 kB / 0.6733 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.1741, allocations: 281.3 kB / 0.6736 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1744, allocations: 0.7002 MB / 0.6743 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.1745, allocations: 19.36 kB / 0.6743 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1745, allocations: 0 / 0.6743 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.003349/0.1778, allocations: 1.614 MB / 0.6759 GB, free: 10.52 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)