Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006818/0.006818, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.001336/0.001336, allocations: 186.6 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9093/0.9093, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 60.17 kB / 0.5814 GB, free: 1.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1895, allocations: 80.19 MB / 0.6597 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002012/0.1916, allocations: 0.5947 MB / 0.6603 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1934, allocations: 1.103 MB / 0.6614 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.1935, allocations: 4 kB / 0.6614 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.1935, allocations: 0 / 0.6614 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.1939, allocations: 23.91 kB / 0.6614 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.909e-06/0.1939, allocations: 3.938 kB / 0.6614 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.194, allocations: 11.94 kB / 0.6614 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.605e-05/0.1941, allocations: 0 / 0.6614 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1941, allocations: 4 kB / 0.6614 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.806e-05/0.1941, allocations: 0 / 0.6614 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1942, allocations: 0 / 0.6614 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1943, allocations: 31.89 kB / 0.6614 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.1944, allocations: 0 / 0.6614 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.1944, allocations: 3.938 kB / 0.6614 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1945, allocations: 11.98 kB / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1945, allocations: 0 / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1945, allocations: 0 / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1945, allocations: 4 kB / 0.6615 GB, free: 11.85 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003995/0.1949, allocations: 315.6 kB / 0.6618 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.195, allocations: 12.03 kB / 0.6618 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.1951, allocations: 0.9375 kB / 0.6618 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1952, allocations: 164.4 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1952, allocations: 384 / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.1953, allocations: 384 / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1954, allocations: 41.95 kB / 0.662 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1954, allocations: 4 kB / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1955, allocations: 7.984 kB / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1955, allocations: 0 / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.1955, allocations: 4 kB / 0.662 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.1957, allocations: 149.7 kB / 0.6621 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.196, allocations: 30.58 kB / 0.6622 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.1961, allocations: 12.94 kB / 0.6622 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.1963, allocations: 93.02 kB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1963, allocations: 38.5 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1963, allocations: 3.938 kB / 0.6623 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004343/0.2007, allocations: 0.5753 MB / 0.6629 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2007, allocations: 51.41 kB / 0.6629 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.678e-05/0.2008, allocations: 97.8 kB / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.2008, allocations: 25.7 kB / 0.663 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.2009, allocations: 84.14 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.2009, allocations: 15.8 kB / 0.6631 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.201, allocations: 17.72 kB / 0.6631 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2012, allocations: 314.8 kB / 0.6634 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.2018, allocations: 87.95 kB / 0.6635 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.2024, allocations: 98.53 kB / 0.6636 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2035, allocations: 194.4 kB / 0.6638 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2036, allocations: 0 / 0.6638 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001282/0.2048, allocations: 217.5 kB / 0.664 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.2049, allocations: 9.547 kB / 0.664 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2049, allocations: 0 / 0.664 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2049, allocations: 0 / 0.664 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.2053, allocations: 56.19 kB / 0.6641 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.2054, allocations: 4 kB / 0.6641 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2057, allocations: 39.98 kB / 0.6641 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2057, allocations: 0 / 0.6641 GB, free: 8.875 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 (5): * Single equations (assignments): 5 * 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 9.736e-05/0.2058, allocations: 118.4 kB / 0.6642 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.2059, allocations: 7.938 kB / 0.6642 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.2072, allocations: 237.1 kB / 0.6645 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2072, allocations: 0 / 0.6645 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2072, allocations: 0 / 0.6645 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2072, allocations: 0 / 0.6645 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.2088, allocations: 462.2 kB / 0.6649 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2088, allocations: 0 / 0.6649 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.2092, allocations: 51.97 kB / 0.665 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2092, allocations: 0 / 0.665 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2092, allocations: 4 kB / 0.665 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2092, allocations: 0 / 0.665 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2092, allocations: 0 / 0.665 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2105, allocations: 307.3 kB / 0.6653 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.2105, allocations: 81.11 kB / 0.6653 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2106, allocations: 3.938 kB / 0.6653 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2109, allocations: 43.97 kB / 0.6654 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.211, allocations: 192 / 0.6654 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.211, allocations: 12 kB / 0.6654 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.211, allocations: 75.28 kB / 0.6655 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.211, allocations: 0 / 0.6655 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000256/0.2113, allocations: 8 kB / 0.6655 GB, free: 7.379 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 (5): * Single equations (assignments): 5 * 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.0002051/0.2115, allocations: 107.2 kB / 0.6656 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.2128, allocations: 183.9 kB / 0.6657 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2128, allocations: 8 kB / 0.6658 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.2134, allocations: 87.94 kB / 0.6658 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2136, allocations: 4 kB / 0.6658 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2148, allocations: 216.9 kB / 0.666 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2151, allocations: 0.6729 MB / 0.6667 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.2153, allocations: 31.98 kB / 0.6667 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.2153, allocations: 11.44 kB / 0.6667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of SimCode: time 5.52e-07/0.2154, allocations: 0 / 0.6667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.003024/0.2184, allocations: 0.8114 MB / 0.6675 GB, free: 5.207 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)