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.001065/0.001065, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001089/0.001089, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7723/0.7723, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 65.58 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001594/0.1318, allocations: 0.5798 MB / 0.661 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1331, allocations: 1.107 MB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.1332, allocations: 0 / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1332, allocations: 0 / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1334, allocations: 27.92 kB / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.332e-06/0.1334, allocations: 0 / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.732e-05/0.1335, allocations: 7.938 kB / 0.6621 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1335, allocations: 0 / 0.6621 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.1335, allocations: 3.984 kB / 0.6621 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.043e-05/0.1336, allocations: 4 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.1336, allocations: 0 / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1337, allocations: 23.91 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-06/0.1337, allocations: 0 / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.1337, allocations: 7.938 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.15e-05/0.1338, allocations: 15.97 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1338, allocations: 0 / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1338, allocations: 4 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1338, allocations: 3.938 kB / 0.6621 GB, free: 8.43 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.0002517/0.1341, allocations: 315.6 kB / 0.6624 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1341, allocations: 12.02 kB / 0.6624 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.1342, allocations: 0.9375 kB / 0.6624 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.561e-05/0.1343, allocations: 164.3 kB / 0.6626 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1343, allocations: 4.375 kB / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1343, allocations: 4.375 kB / 0.6626 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.1344, allocations: 42 kB / 0.6626 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1344, allocations: 0 / 0.6626 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1344, allocations: 3.984 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1344, allocations: 0 / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.1345, allocations: 4 kB / 0.6627 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1346, allocations: 153.7 kB / 0.6628 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1348, allocations: 38.55 kB / 0.6628 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.1348, allocations: 16.8 kB / 0.6629 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.135, allocations: 81.11 kB / 0.6629 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.135, allocations: 34.5 kB / 0.663 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.135, allocations: 0 / 0.663 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004262/0.1393, allocations: 0.5715 MB / 0.6635 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1393, allocations: 51.41 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.727e-05/0.1393, allocations: 97.84 kB / 0.6637 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1394, allocations: 29.7 kB / 0.6637 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.1394, allocations: 80.14 kB / 0.6638 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1394, allocations: 11.81 kB / 0.6638 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1395, allocations: 17.72 kB / 0.6638 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.1396, allocations: 318.8 kB / 0.6641 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/0.1402, allocations: 83.89 kB / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.1408, allocations: 106.5 kB / 0.6643 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.142, allocations: 190.5 kB / 0.6645 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.142, allocations: 4 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001286/0.1433, allocations: 209.6 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1434, allocations: 7.938 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1434, allocations: 4 kB / 0.6647 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1434, allocations: 0 / 0.6647 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.1438, allocations: 51.94 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1438, allocations: 4 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.1442, allocations: 36.17 kB / 0.6648 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1442, allocations: 15.98 kB / 0.6648 GB, free: 5.453 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 7.736e-05/0.1443, allocations: 106.7 kB / 0.6649 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.1443, allocations: 11.94 kB / 0.6649 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.1457, allocations: 233 kB / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1457, allocations: 0 / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1457, allocations: 0 / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1458, allocations: 89.02 kB / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1458, allocations: 0 / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.1461, allocations: 39.97 kB / 0.6652 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.1462, allocations: 7.938 kB / 0.6653 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001591/0.1478, allocations: 328.8 kB / 0.6656 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001302/0.1491, allocations: 378.6 kB / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005925/0.1497, allocations: 87.95 kB / 0.666 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.1497, allocations: 79.22 kB / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of Backend: time 3.91e-07/0.1497, allocations: 4 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.1507, allocations: 182.3 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003608/0.1511, allocations: 0.5409 MB / 0.6668 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.003444/0.1546, allocations: 1.371 MB / 0.6681 GB, free: 1.914 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)