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.004924/0.004924, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001312/0.001312, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.755/0.755, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.62 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1814, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.00306/0.1845, allocations: 1.775 MB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1856, allocations: 0.6632 MB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.1857, allocations: 7.938 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.1858, allocations: 15.8 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.1859, allocations: 15.8 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.1864, allocations: 172.9 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1866, allocations: 127.6 kB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1868, allocations: 41.11 kB / 0.6624 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.187, allocations: 63.83 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1871, allocations: 47.77 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.1871, allocations: 8 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1872, allocations: 43.97 kB / 0.6626 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.1873, allocations: 35.89 kB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.1874, allocations: 55.7 kB / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1876, allocations: 147.3 kB / 0.6628 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1876, allocations: 0 / 0.6628 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1876, allocations: 8 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1876, allocations: 0 / 0.6628 GB, free: 10.25 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.0006694/0.1883, allocations: 442.8 kB / 0.6632 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1884, allocations: 8.031 kB / 0.6633 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008281/0.1892, allocations: 112.7 kB / 0.6634 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1894, allocations: 180.2 kB / 0.6635 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1895, allocations: 63.97 kB / 0.6636 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1895, allocations: 8.375 kB / 0.6636 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.19, allocations: 169.7 kB / 0.6638 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.19, allocations: 7.938 kB / 0.6638 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1901, allocations: 4 kB / 0.6638 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1901, allocations: 7.984 kB / 0.6638 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.1907, allocations: 151.8 kB / 0.6639 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1918, allocations: 497.6 kB / 0.6644 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.1928, allocations: 222.3 kB / 0.6646 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1931, allocations: 80.91 kB / 0.6647 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1931, allocations: 4 kB / 0.6647 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.1932, allocations: 30.56 kB / 0.6647 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1932, allocations: 0 / 0.6647 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.00108/0.1943, allocations: 265.3 kB / 0.665 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1943, allocations: 51.41 kB / 0.665 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1945, allocations: 140.2 kB / 0.6652 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1945, allocations: 29.7 kB / 0.6652 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.1946, allocations: 116.2 kB / 0.6653 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1946, allocations: 11.89 kB / 0.6653 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1947, allocations: 25.7 kB / 0.6653 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1949, allocations: 322.8 kB / 0.6656 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.1952, allocations: 76.16 kB / 0.6657 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.1955, allocations: 94.44 kB / 0.6658 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1961, allocations: 166.4 kB / 0.666 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1961, allocations: 0 / 0.666 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006379/0.1967, allocations: 205.4 kB / 0.6662 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1967, allocations: 8 kB / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1967, allocations: 0 / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1968, allocations: 3.938 kB / 0.6662 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.197, allocations: 44 kB / 0.6662 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1971, allocations: 0 / 0.6662 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1972, allocations: 27.91 kB / 0.6662 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1973, allocations: 4 kB / 0.6662 GB, free: 6.496 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.0001094/0.1974, allocations: 121.8 kB / 0.6664 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1974, allocations: 7.953 kB / 0.6664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007153/0.1982, allocations: 214.1 kB / 0.6666 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1982, allocations: 0 / 0.6666 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1982, allocations: 0 / 0.6666 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1982, allocations: 0 / 0.6666 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1985, allocations: 246.1 kB / 0.6668 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1985, allocations: 0 / 0.6668 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.1987, allocations: 31.95 kB / 0.6668 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1987, allocations: 0 / 0.6668 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1987, allocations: 7.938 kB / 0.6668 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1987, allocations: 0 / 0.6668 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1988, allocations: 0 / 0.6668 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.1994, allocations: 291.4 kB / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1995, allocations: 81.06 kB / 0.6672 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1995, allocations: 7.938 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1998, allocations: 35.95 kB / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1999, allocations: 3.984 kB / 0.6672 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1999, allocations: 7.984 kB / 0.6672 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.2, allocations: 105.7 kB / 0.6674 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2, allocations: 0 / 0.6674 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002607/0.2003, allocations: 27.94 kB / 0.6674 GB, free: 5.223 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.0001538/0.2004, allocations: 95.25 kB / 0.6675 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000672/0.2011, allocations: 167.8 kB / 0.6676 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2011, allocations: 0 / 0.6676 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.2014, allocations: 83.91 kB / 0.6677 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2018, allocations: 16.12 kB / 0.6677 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.2024, allocations: 255.2 kB / 0.668 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2027, allocations: 0.6963 MB / 0.6686 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.166e-05/0.2028, allocations: 19.98 kB / 0.6687 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.2028, allocations: 15.42 kB / 0.6687 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2028, allocations: 4 kB / 0.6687 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.003864/0.2067, allocations: 1.466 MB / 0.6701 GB, free: 2.367 MB / 0.4981 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)