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.001317/0.001317, allocations: 109.7 kB / 16.42 MB, free: 5.977 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.001044/0.001044, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 423.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 73.02 kB / 0.5821 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1328, allocations: 80.2 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001545/0.1344, allocations: 0.5875 MB / 0.661 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1357, allocations: 1.115 MB / 0.662 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1357, allocations: 4 kB / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1358, allocations: 0 / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.136, allocations: 11.92 kB / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.035e-06/0.136, allocations: 0 / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.1361, allocations: 7.938 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1361, allocations: 7.984 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.1361, allocations: 4 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.1362, allocations: 3.984 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.1362, allocations: 0 / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1363, allocations: 23.92 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.71e-06/0.1363, allocations: 0 / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.1363, allocations: 3.938 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.1364, allocations: 19.97 kB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1364, allocations: 0 / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1364, allocations: 0 / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1364, allocations: 0 / 0.6621 GB, free: 8.398 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.0002698/0.1367, allocations: 315.5 kB / 0.6624 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1368, allocations: 11.97 kB / 0.6624 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1368, allocations: 4.938 kB / 0.6624 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.1369, allocations: 164.4 kB / 0.6626 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1369, allocations: 4.375 kB / 0.6626 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1369, allocations: 384 / 0.6626 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/0.137, allocations: 38 kB / 0.6626 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1371, allocations: 3.938 kB / 0.6626 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.1371, allocations: 0 / 0.6626 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1371, allocations: 4 kB / 0.6627 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.1371, allocations: 8 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1373, allocations: 153.6 kB / 0.6628 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1375, allocations: 42.55 kB / 0.6628 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.1375, allocations: 8.859 kB / 0.6629 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1376, allocations: 85.14 kB / 0.6629 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1377, allocations: 42.48 kB / 0.663 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1377, allocations: 0 / 0.663 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004201/0.1419, allocations: 0.5718 MB / 0.6635 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1419, allocations: 55.41 kB / 0.6636 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.017e-05/0.142, allocations: 89.86 kB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.142, allocations: 25.7 kB / 0.6637 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.042e-05/0.142, allocations: 80.14 kB / 0.6638 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1421, allocations: 11.91 kB / 0.6638 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.1421, allocations: 21.7 kB / 0.6638 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.1422, allocations: 314.8 kB / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.1428, allocations: 83.95 kB / 0.6642 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.1434, allocations: 106.5 kB / 0.6643 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.1447, allocations: 190.7 kB / 0.6645 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1447, allocations: 4 kB / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001276/0.1459, allocations: 217.5 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.146, allocations: 11.94 kB / 0.6647 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.146, allocations: 0 / 0.6647 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.146, allocations: 0 / 0.6647 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.1464, allocations: 55.94 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1464, allocations: 0 / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.1468, allocations: 43.97 kB / 0.6648 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1468, allocations: 0 / 0.6648 GB, free: 5.418 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.048e-05/0.1469, allocations: 122.7 kB / 0.6649 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.1469, allocations: 3.938 kB / 0.6649 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.1483, allocations: 229.1 kB / 0.6651 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1483, allocations: 4 kB / 0.6651 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1483, allocations: 3.938 kB / 0.6651 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.1483, allocations: 81.11 kB / 0.6652 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1484, allocations: 3.984 kB / 0.6652 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.1487, allocations: 39.98 kB / 0.6653 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1487, allocations: 4 kB / 0.6653 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.1504, allocations: 324.8 kB / 0.6656 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001293/0.1517, allocations: 378.6 kB / 0.6659 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006087/0.1523, allocations: 91.95 kB / 0.666 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.728e-05/0.1523, allocations: 79.22 kB / 0.6661 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of Backend: time 3.91e-07/0.1523, allocations: 3.938 kB / 0.6661 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.1534, allocations: 174.4 kB / 0.6663 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003984/0.1538, allocations: 0.5439 MB / 0.6668 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.003439/0.1572, allocations: 1.372 MB / 0.6681 GB, free: 1.883 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)