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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7025/0.7025, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 404.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 111.1 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009911/0.0009911, allocations: 59.91 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1496, allocations: 80.43 MB / 0.6422 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002494/0.1522, allocations: 0.6426 MB / 0.6428 GB, free: 4.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1537, allocations: 1.098 MB / 0.6439 GB, free: 3.637 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.1538, allocations: 4 kB / 0.6439 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.1538, allocations: 3.938 kB / 0.6439 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1541, allocations: 11.98 kB / 0.6439 GB, free: 3.617 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.905e-06/0.1541, allocations: 0 / 0.6439 GB, free: 3.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.777e-05/0.1541, allocations: 8 kB / 0.6439 GB, free: 3.609 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.1542, allocations: 4 kB / 0.6439 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.1542, allocations: 11.86 kB / 0.6439 GB, free: 3.594 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.264e-05/0.1542, allocations: 4 kB / 0.6439 GB, free: 3.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.1542, allocations: 0 / 0.6439 GB, free: 3.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1544, allocations: 19.97 kB / 0.6439 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-06/0.1544, allocations: 0 / 0.6439 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.1544, allocations: 0 / 0.6439 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.806e-05/0.1545, allocations: 19.86 kB / 0.6439 GB, free: 3.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1545, allocations: 4 kB / 0.6439 GB, free: 3.547 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1545, allocations: 0 / 0.6439 GB, free: 3.547 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1545, allocations: 4 kB / 0.6439 GB, free: 3.543 MB / 442.7 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.000306/0.1548, allocations: 319.5 kB / 0.6442 GB, free: 3.184 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1549, allocations: 8.031 kB / 0.6443 GB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1549, allocations: 0.9375 kB / 0.6443 GB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.631e-05/0.155, allocations: 168.3 kB / 0.6444 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.155, allocations: 4.375 kB / 0.6444 GB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.155, allocations: 4.375 kB / 0.6444 GB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1552, allocations: 38 kB / 0.6445 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1552, allocations: 4 kB / 0.6445 GB, free: 2.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1552, allocations: 3.984 kB / 0.6445 GB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1552, allocations: 0 / 0.6445 GB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.1552, allocations: 7.938 kB / 0.6445 GB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1554, allocations: 153.7 kB / 0.6446 GB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1556, allocations: 34.61 kB / 0.6447 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.1556, allocations: 8.859 kB / 0.6447 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.1558, allocations: 89.09 kB / 0.6448 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1559, allocations: 42.58 kB / 0.6448 GB, free: 2.496 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1559, allocations: 0 / 0.6448 GB, free: 2.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.004297/0.1602, allocations: 0.564 MB / 0.6453 GB, free: 1.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1602, allocations: 55.41 kB / 0.6454 GB, free: 1.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.501e-05/0.1603, allocations: 89.86 kB / 0.6455 GB, free: 1.762 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1603, allocations: 25.7 kB / 0.6455 GB, free: 1.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.1604, allocations: 88.08 kB / 0.6456 GB, free: 1.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.1604, allocations: 15.72 kB / 0.6456 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.1605, allocations: 21.7 kB / 0.6456 GB, free: 1.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1606, allocations: 314.8 kB / 0.6459 GB, free: 1.281 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.1612, allocations: 79.95 kB / 0.646 GB, free: 1.203 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.1618, allocations: 106.5 kB / 0.6461 GB, free: 1.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.163, allocations: 190.5 kB / 0.6463 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.163, allocations: 3.938 kB / 0.6463 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001281/0.1643, allocations: 217.5 kB / 0.6465 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1643, allocations: 4 kB / 0.6465 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1643, allocations: 4.062 kB / 0.6465 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1643, allocations: 4 kB / 0.6465 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.1648, allocations: 43.97 kB / 0.6465 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1649, allocations: 4 kB / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.1653, allocations: 35.98 kB / 0.6466 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.1653, allocations: 11.98 kB / 0.6466 GB, free: 0.5664 MB / 442.7 MB 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.293e-05/0.1654, allocations: 109.8 kB / 0.6467 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1654, allocations: 3.938 kB / 0.6467 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.1671, allocations: 237 kB / 0.6469 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1671, allocations: 0 / 0.6469 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1672, allocations: 0 / 0.6469 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1672, allocations: 4 kB / 0.6469 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.1689, allocations: 454.7 kB / 0.6474 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.169, allocations: 0 / 0.6474 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.1694, allocations: 59.84 kB / 0.6474 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1694, allocations: 0 / 0.6474 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1694, allocations: 3.984 kB / 0.6474 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1694, allocations: 0 / 0.6474 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1694, allocations: 0 / 0.6474 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.1716, allocations: 0.9348 MB / 0.6483 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1716, allocations: 81.11 kB / 0.6484 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1717, allocations: 4 kB / 0.6484 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.1721, allocations: 43.91 kB / 0.6485 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.1721, allocations: 4.422 kB / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1721, allocations: 0 / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.614e-05/0.1721, allocations: 75.28 kB / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1721, allocations: 0 / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.1725, allocations: 16 kB / 0.6486 GB, free: 14.41 MB / 458.7 MB 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.0001877/0.1727, allocations: 103.2 kB / 0.6487 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.174, allocations: 179.9 kB / 0.6488 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.174, allocations: 3.938 kB / 0.6488 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.1747, allocations: 92.06 kB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1749, allocations: 8 kB / 0.6489 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1761, allocations: 325.5 kB / 0.6492 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1764, allocations: 0.6809 MB / 0.6499 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.1766, allocations: 28 kB / 0.6499 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.1767, allocations: 11.42 kB / 0.6499 GB, free: 12.93 MB / 458.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1767, allocations: 0 / 0.6499 GB, free: 12.93 MB / 458.7 MB Notification: Performance of Templates: time 0.002655/0.1794, allocations: 0.8078 MB / 0.6507 GB, free: 12.12 MB / 458.7 MB 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)