Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009817/0.0009817, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 178.3 kB / 16.92 MB, free: 6.648 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.322/1.322, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9413/0.9413, allocations: 135.3 MB / 427.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 9.062 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 82.32 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006745/0.1444, allocations: 315 kB / 0.5889 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1457, allocations: 1.094 MB / 0.59 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.094e-05/0.1457, allocations: 0 / 0.59 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-06/0.1457, allocations: 0 / 0.59 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1459, allocations: 19.92 kB / 0.59 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.515e-06/0.1459, allocations: 4 kB / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.635e-05/0.146, allocations: 0 / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.146, allocations: 4 kB / 0.59 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/0.146, allocations: 7.938 kB / 0.59 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.1461, allocations: 3.984 kB / 0.59 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.1461, allocations: 0 / 0.59 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.1462, allocations: 19.92 kB / 0.5901 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.1462, allocations: 0 / 0.5901 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.1462, allocations: 29.7 kB / 0.5901 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.068e-05/0.1463, allocations: 7.984 kB / 0.5901 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1463, allocations: 0 / 0.5901 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1463, allocations: 4 kB / 0.5901 GB, free: 1.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.1463, allocations: 3.938 kB / 0.5901 GB, free: 1.078 MB / 494.1 MB 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.0002327/0.1465, allocations: 315.6 kB / 0.5904 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1466, allocations: 12.02 kB / 0.5904 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.1466, allocations: 4.938 kB / 0.5904 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.1467, allocations: 160.4 kB / 0.5906 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1467, allocations: 384 / 0.5906 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1467, allocations: 12.3 kB / 0.5906 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1469, allocations: 42 kB / 0.5906 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1469, allocations: 7.906 kB / 0.5906 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1469, allocations: 0 / 0.5906 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1469, allocations: 0 / 0.5906 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.496e-05/0.1469, allocations: 4 kB / 0.5906 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1471, allocations: 161.6 kB / 0.5908 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1473, allocations: 34.55 kB / 0.5908 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.1473, allocations: 8.859 kB / 0.5908 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.1475, allocations: 85.11 kB / 0.5909 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1475, allocations: 38.5 kB / 0.5909 GB, free: 32 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1475, allocations: 0 / 0.5909 GB, free: 32 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004262/0.1518, allocations: 0.568 MB / 0.5915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1518, allocations: 51.41 kB / 0.5915 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.217e-05/0.1519, allocations: 93.84 kB / 0.5916 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1519, allocations: 25.7 kB / 0.5917 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1519, allocations: 80.14 kB / 0.5917 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.152, allocations: 19.81 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.152, allocations: 9.719 kB / 0.5918 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1521, allocations: 314.8 kB / 0.5921 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.1527, allocations: 79.95 kB / 0.5921 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.1534, allocations: 106.5 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.1546, allocations: 190.4 kB / 0.5924 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1546, allocations: 4 kB / 0.5924 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001269/0.1559, allocations: 217.4 kB / 0.5926 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1559, allocations: 4 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1559, allocations: 4.062 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1559, allocations: 0 / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.1563, allocations: 47.97 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1564, allocations: 11.92 kB / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.1567, allocations: 35.98 kB / 0.5927 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1567, allocations: 11.94 kB / 0.5927 GB, free: 14.11 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 8.54e-05/0.1568, allocations: 109.8 kB / 0.5929 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1568, allocations: 3.938 kB / 0.5929 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.1582, allocations: 237.1 kB / 0.5931 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1582, allocations: 0 / 0.5931 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1583, allocations: 0 / 0.5931 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1583, allocations: 4 kB / 0.5931 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.1598, allocations: 454.6 kB / 0.5935 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1599, allocations: 4.062 kB / 0.5935 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.1603, allocations: 51.97 kB / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1603, allocations: 432 / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1603, allocations: 0 / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1603, allocations: 0 / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1603, allocations: 0 / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1616, allocations: 315.3 kB / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1616, allocations: 85 kB / 0.594 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1616, allocations: 0 / 0.594 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.162, allocations: 47.91 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.162, allocations: 0 / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1621, allocations: 4 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.1621, allocations: 79.31 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002519/0.1623, allocations: 12 kB / 0.5941 GB, free: 12.62 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.0001681/0.1625, allocations: 107.2 kB / 0.5942 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.1638, allocations: 183.8 kB / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1638, allocations: 0 / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005935/0.1644, allocations: 88.08 kB / 0.5945 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1646, allocations: 4 kB / 0.5945 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1658, allocations: 248.3 kB / 0.5947 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.166, allocations: 0.6731 MB / 0.5954 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.1661, allocations: 19.42 kB / 0.5954 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1661, allocations: 3.938 kB / 0.5954 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.002601/0.1687, allocations: 1.079 MB / 0.5964 GB, free: 10.17 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)