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.001368/0.001368, allocations: 105.7 kB / 16.41 MB, free: 6.508 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.001324/0.001324, allocations: 183 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8615/0.8615, allocations: 135.2 MB / 426.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 72.41 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 80.94 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003029/0.159, allocations: 1.77 MB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1602, allocations: 0.667 MB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.1603, allocations: 0 / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.1603, allocations: 11.88 kB / 0.6678 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.1604, allocations: 23.78 kB / 0.6678 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1609, allocations: 163.1 kB / 0.6679 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1611, allocations: 127.6 kB / 0.6681 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1613, allocations: 44.83 kB / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1614, allocations: 59.77 kB / 0.6682 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1615, allocations: 47.77 kB / 0.6682 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1615, allocations: 12 kB / 0.6682 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1616, allocations: 43.97 kB / 0.6683 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.1617, allocations: 31.89 kB / 0.6683 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.1617, allocations: 51.73 kB / 0.6683 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.162, allocations: 155.3 kB / 0.6685 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.162, allocations: 0 / 0.6685 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.162, allocations: 4 kB / 0.6685 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.162, allocations: 0 / 0.6685 GB, free: 2.547 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.000662/0.1626, allocations: 438.8 kB / 0.6689 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1627, allocations: 13.11 kB / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.1635, allocations: 116.6 kB / 0.669 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1637, allocations: 180.2 kB / 0.6692 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1638, allocations: 63.95 kB / 0.6693 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1638, allocations: 12.36 kB / 0.6693 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.1644, allocations: 165.7 kB / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1644, allocations: 4 kB / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.1644, allocations: 11.94 kB / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1644, allocations: 0 / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.1651, allocations: 159.8 kB / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1662, allocations: 493.6 kB / 0.6701 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.1673, allocations: 214.3 kB / 0.6703 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1676, allocations: 72.91 kB / 0.6703 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.1676, allocations: 8 kB / 0.6704 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1677, allocations: 38.55 kB / 0.6704 GB, free: 432 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1677, allocations: 0 / 0.6704 GB, free: 432 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.00109/0.1688, allocations: 265.2 kB / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1688, allocations: 55.41 kB / 0.6707 GB, free: 92 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.169, allocations: 140 kB / 0.6708 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.169, allocations: 25.7 kB / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.1691, allocations: 108.2 kB / 0.671 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.1691, allocations: 19.86 kB / 0.671 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.1692, allocations: 25.7 kB / 0.671 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1693, allocations: 322.8 kB / 0.6713 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.1696, allocations: 67.92 kB / 0.6714 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.17, allocations: 94.73 kB / 0.6715 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/0.1706, allocations: 170.4 kB / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1706, allocations: 0 / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007245/0.1713, allocations: 205.4 kB / 0.6718 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1713, allocations: 4 kB / 0.6718 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1713, allocations: 4 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1714, allocations: 3.938 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1716, allocations: 40.02 kB / 0.6719 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1716, allocations: 0 / 0.6719 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1718, allocations: 31.84 kB / 0.6719 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1719, allocations: 7.938 kB / 0.6719 GB, free: 14.79 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.0001214/0.172, allocations: 117.8 kB / 0.672 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.172, allocations: 11.89 kB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.1728, allocations: 206.2 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1728, allocations: 4 kB / 0.6722 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1728, allocations: 0 / 0.6722 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1728, allocations: 0 / 0.6722 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.1731, allocations: 238.5 kB / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1731, allocations: 0 / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.1733, allocations: 39.83 kB / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1733, allocations: 0 / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1734, allocations: 11.92 kB / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1734, allocations: 0 / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1734, allocations: 0 / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.1741, allocations: 291.4 kB / 0.6728 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1742, allocations: 85.06 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1742, allocations: 3.938 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.1745, allocations: 35.95 kB / 0.6729 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1745, allocations: 4 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1746, allocations: 7.984 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.1747, allocations: 109.5 kB / 0.673 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1747, allocations: 0 / 0.673 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002902/0.1749, allocations: 23.94 kB / 0.673 GB, free: 13.53 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.0001458/0.1751, allocations: 103.2 kB / 0.6731 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006985/0.1758, allocations: 155.8 kB / 0.6733 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1758, allocations: 0 / 0.6733 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.1761, allocations: 83.86 kB / 0.6734 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1765, allocations: 22.14 kB / 0.6734 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.1772, allocations: 273 kB / 0.6737 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1776, allocations: 0.7001 MB / 0.6743 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.1776, allocations: 27.42 kB / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.1776, allocations: 0 / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.003984/0.1816, allocations: 1.593 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)