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.001453/0.001454, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001698/0.001698, 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8001/0.8001, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.75 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1501, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001674/0.1518, allocations: 0.5682 MB / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1531, allocations: 1.119 MB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1532, allocations: 0 / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1532, allocations: 0 / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1534, allocations: 19.94 kB / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.616e-06/0.1534, allocations: 7.875 kB / 0.667 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.854e-05/0.1535, allocations: 7.969 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1535, allocations: 4 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.1535, allocations: 0 / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.29e-05/0.1536, allocations: 3.938 kB / 0.667 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.054e-06/0.1536, allocations: 4 kB / 0.667 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1537, allocations: 15.98 kB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1537, allocations: 7.984 kB / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.1537, allocations: 3.938 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.595e-05/0.1538, allocations: 11.98 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1538, allocations: 3.938 kB / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1538, allocations: 0 / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1538, allocations: 0 / 0.6671 GB, free: 3.977 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.0002843/0.1541, allocations: 319.6 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1542, allocations: 13.11 kB / 0.6674 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.1542, allocations: 4.938 kB / 0.6674 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.1543, allocations: 160.4 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1543, allocations: 384 / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1543, allocations: 4.375 kB / 0.6676 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.1544, allocations: 38 kB / 0.6676 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1545, allocations: 4 kB / 0.6676 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1545, allocations: 0 / 0.6676 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1545, allocations: 0 / 0.6676 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.1545, allocations: 7.984 kB / 0.6676 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1547, allocations: 157.6 kB / 0.6678 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1549, allocations: 38.53 kB / 0.6678 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.1549, allocations: 8.859 kB / 0.6678 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.1551, allocations: 85.19 kB / 0.6679 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1551, allocations: 38.5 kB / 0.6679 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1551, allocations: 0 / 0.6679 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004362/0.1595, allocations: 0.5753 MB / 0.6685 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1595, allocations: 51.41 kB / 0.6685 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.647e-05/0.1596, allocations: 89.86 kB / 0.6686 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1596, allocations: 25.7 kB / 0.6686 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.1596, allocations: 80.14 kB / 0.6687 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.1597, allocations: 19.8 kB / 0.6687 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.1597, allocations: 21.7 kB / 0.6688 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1598, allocations: 318.8 kB / 0.6691 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.1605, allocations: 79.95 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.1611, allocations: 106.5 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.1623, allocations: 190.5 kB / 0.6694 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1623, allocations: 3.938 kB / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001288/0.1636, allocations: 217.5 kB / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1636, allocations: 4 kB / 0.6696 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1637, allocations: 3.938 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1637, allocations: 8.031 kB / 0.6696 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.1641, allocations: 43.97 kB / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1641, allocations: 4 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.1645, allocations: 39.97 kB / 0.6697 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1645, allocations: 8 kB / 0.6697 GB, free: 0.9961 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.651e-05/0.1646, allocations: 111.2 kB / 0.6698 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1646, allocations: 7.938 kB / 0.6699 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.166, allocations: 237.2 kB / 0.6701 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.166, allocations: 0 / 0.6701 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1661, allocations: 4 kB / 0.6701 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1661, allocations: 3.984 kB / 0.6701 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1676, allocations: 458.3 kB / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1676, allocations: 4 kB / 0.6705 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.168, allocations: 55.91 kB / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.168, allocations: 0 / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.168, allocations: 0 / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.168, allocations: 3.938 kB / 0.6706 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1681, allocations: 4 kB / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.1694, allocations: 303.4 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.1694, allocations: 77.11 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1695, allocations: 4 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.1698, allocations: 35.98 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.1699, allocations: 7.984 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1699, allocations: 4 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.1699, allocations: 75.28 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002541/0.1702, allocations: 16 kB / 0.6711 GB, free: 15.5 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 (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.0001762/0.1704, allocations: 103.2 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.1716, allocations: 179.9 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1716, allocations: 0 / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.1722, allocations: 96.02 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1725, allocations: 5.719 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1736, allocations: 246.5 kB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1739, allocations: 0.6729 MB / 0.6723 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.174, allocations: 15.42 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.174, allocations: 0 / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.002537/0.1765, allocations: 1.111 MB / 0.6734 GB, free: 13.02 MB / 0.5137 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)