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.001224/0.001224, allocations: 110.9 kB / 16.37 MB, free: 6.344 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.001247/0.001248, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7792/0.7792, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.84 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002802/0.145, allocations: 1.775 MB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1461, allocations: 0.6631 MB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.1461, allocations: 4 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.1462, allocations: 11.86 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.1463, allocations: 15.8 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.1468, allocations: 165.6 kB / 0.6629 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.147, allocations: 131.5 kB / 0.663 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1471, allocations: 45.11 kB / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1473, allocations: 63.83 kB / 0.6631 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.1474, allocations: 47.77 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.1474, allocations: 12 kB / 0.6631 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1475, allocations: 43.97 kB / 0.6632 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1476, allocations: 31.89 kB / 0.6632 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.1476, allocations: 59.7 kB / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1479, allocations: 143.5 kB / 0.6634 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1479, allocations: 0 / 0.6634 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1479, allocations: 7.938 kB / 0.6634 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1479, allocations: 0 / 0.6634 GB, free: 7.078 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.0006195/0.1485, allocations: 431 kB / 0.6638 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1486, allocations: 12.03 kB / 0.6638 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.1494, allocations: 112.7 kB / 0.6639 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1496, allocations: 185.6 kB / 0.6641 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.1497, allocations: 63.97 kB / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1497, allocations: 12.36 kB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.1503, allocations: 179.2 kB / 0.6644 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1503, allocations: 4 kB / 0.6644 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1503, allocations: 4 kB / 0.6644 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1503, allocations: 0 / 0.6644 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.1509, allocations: 155.8 kB / 0.6645 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.152, allocations: 481.6 kB / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1531, allocations: 226.3 kB / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.1534, allocations: 76.91 kB / 0.6653 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1534, allocations: 4 kB / 0.6653 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1534, allocations: 34.56 kB / 0.6653 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1534, allocations: 0 / 0.6653 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001041/0.1545, allocations: 265.4 kB / 0.6656 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1545, allocations: 55.41 kB / 0.6656 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1547, allocations: 140.3 kB / 0.6657 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1547, allocations: 29.7 kB / 0.6658 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.1548, allocations: 104.2 kB / 0.6659 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1548, allocations: 23.73 kB / 0.6659 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1549, allocations: 25.7 kB / 0.6659 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.155, allocations: 318.8 kB / 0.6662 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.1553, allocations: 79.91 kB / 0.6663 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.1556, allocations: 90.5 kB / 0.6664 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.1562, allocations: 162.4 kB / 0.6665 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1562, allocations: 0 / 0.6665 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006738/0.1569, allocations: 205.6 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.157, allocations: 8 kB / 0.6667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.157, allocations: 0 / 0.6667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.157, allocations: 3.938 kB / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.1573, allocations: 44 kB / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1573, allocations: 3.938 kB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1575, allocations: 27.88 kB / 0.6668 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1575, allocations: 7.938 kB / 0.6668 GB, free: 3.332 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.0001144/0.1576, allocations: 113.8 kB / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.1577, allocations: 11.89 kB / 0.6669 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.1584, allocations: 214.1 kB / 0.6672 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1585, allocations: 4 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1585, allocations: 0 / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1585, allocations: 0 / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1587, allocations: 246.1 kB / 0.6674 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1587, allocations: 0 / 0.6674 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.159, allocations: 35.94 kB / 0.6674 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.159, allocations: 0 / 0.6674 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.159, allocations: 3.938 kB / 0.6674 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.159, allocations: 0 / 0.6674 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.159, allocations: 0 / 0.6674 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.1597, allocations: 283.3 kB / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.1597, allocations: 85.02 kB / 0.6678 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1598, allocations: 7.938 kB / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.1601, allocations: 35.89 kB / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1601, allocations: 7.984 kB / 0.6678 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.1601, allocations: 8.172 kB / 0.6678 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.125e-05/0.1602, allocations: 107.2 kB / 0.6679 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1602, allocations: 0 / 0.6679 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002633/0.1605, allocations: 27.91 kB / 0.668 GB, free: 2.055 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.000119/0.1606, allocations: 91.25 kB / 0.6681 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006756/0.1613, allocations: 171.8 kB / 0.6682 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.1613, allocations: 0 / 0.6682 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.1616, allocations: 83.84 kB / 0.6683 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.162, allocations: 12.12 kB / 0.6683 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.1626, allocations: 277.2 kB / 0.6686 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1629, allocations: 0.7002 MB / 0.6693 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.163, allocations: 15.44 kB / 0.6693 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.163, allocations: 0 / 0.6693 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of Templates: time 0.002948/0.1659, allocations: 1.603 MB / 0.6708 GB, free: 15.05 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)