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.001162/0.001163, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00118/0.00118, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.328/1.328, 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/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.39 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 80.22 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001626/0.1391, allocations: 0.5797 MB / 0.6609 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1405, allocations: 1.115 MB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.1405, allocations: 0 / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1406, allocations: 0 / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1408, allocations: 23.91 kB / 0.6621 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.1409, allocations: 0 / 0.6621 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.276e-05/0.1409, allocations: 7.938 kB / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.141, allocations: 0 / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.141, allocations: 4 kB / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.141, allocations: 0 / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.141, allocations: 0 / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1411, allocations: 27.91 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.1412, allocations: 3.984 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.506e-05/0.1412, allocations: 3.938 kB / 0.6621 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.1413, allocations: 15.98 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1413, allocations: 0 / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1413, allocations: 0 / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1413, allocations: 0 / 0.6621 GB, free: 8.426 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.0002711/0.1416, allocations: 315.6 kB / 0.6624 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1416, allocations: 16.02 kB / 0.6624 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1416, allocations: 4.875 kB / 0.6624 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.267e-05/0.1417, allocations: 164.4 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1418, allocations: 384 / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1418, allocations: 384 / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1419, allocations: 45.98 kB / 0.6626 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1419, allocations: 4 kB / 0.6626 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1419, allocations: 0 / 0.6626 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1419, allocations: 0 / 0.6626 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.142, allocations: 4 kB / 0.6626 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.1421, allocations: 153.6 kB / 0.6628 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1423, allocations: 38.55 kB / 0.6628 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.1424, allocations: 12.86 kB / 0.6628 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1425, allocations: 81.11 kB / 0.6629 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1425, allocations: 34.5 kB / 0.6629 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1425, allocations: 3.938 kB / 0.663 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004297/0.1468, allocations: 0.5832 MB / 0.6635 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1469, allocations: 51.41 kB / 0.6636 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.886e-05/0.1469, allocations: 89.86 kB / 0.6637 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.147, allocations: 29.69 kB / 0.6637 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.147, allocations: 80.14 kB / 0.6638 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.147, allocations: 15.81 kB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.1471, allocations: 17.72 kB / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1472, allocations: 314.8 kB / 0.6641 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.1478, allocations: 83.95 kB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.1484, allocations: 106.5 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.1496, allocations: 194.5 kB / 0.6645 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1496, allocations: 0 / 0.6645 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001262/0.1509, allocations: 213.5 kB / 0.6647 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1509, allocations: 8 kB / 0.6647 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.151, allocations: 0 / 0.6647 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.151, allocations: 0 / 0.6647 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.1514, allocations: 55.94 kB / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1514, allocations: 0 / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.1518, allocations: 39.98 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1518, allocations: 4.172 kB / 0.6648 GB, free: 5.449 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.362e-05/0.1519, allocations: 118.7 kB / 0.6649 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1519, allocations: 3.938 kB / 0.6649 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.1533, allocations: 237.1 kB / 0.6651 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1533, allocations: 0 / 0.6651 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1533, allocations: 3.938 kB / 0.6651 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1533, allocations: 0 / 0.6651 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.1548, allocations: 462.3 kB / 0.6656 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1548, allocations: 0 / 0.6656 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.1552, allocations: 55.97 kB / 0.6656 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1553, allocations: 0 / 0.6656 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1553, allocations: 0 / 0.6656 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1553, allocations: 3.938 kB / 0.6656 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1553, allocations: 0 / 0.6656 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1566, allocations: 307.8 kB / 0.6659 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.1566, allocations: 77.11 kB / 0.666 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.1567, allocations: 7.922 kB / 0.666 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.157, allocations: 43.92 kB / 0.666 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.1571, allocations: 7.984 kB / 0.666 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1571, allocations: 7.984 kB / 0.666 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.1571, allocations: 75.28 kB / 0.6661 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1571, allocations: 0 / 0.6661 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002523/0.1574, allocations: 8 kB / 0.6661 GB, free: 3.945 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.0001672/0.1575, allocations: 103.2 kB / 0.6662 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.1588, allocations: 183.8 kB / 0.6664 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1588, allocations: 0 / 0.6664 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.1594, allocations: 96.25 kB / 0.6665 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1597, allocations: 5.812 kB / 0.6665 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1608, allocations: 249.2 kB / 0.6667 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1611, allocations: 0.683 MB / 0.6674 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.1612, allocations: 11.44 kB / 0.6674 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1612, allocations: 0 / 0.6674 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.002499/0.1637, allocations: 1.105 MB / 0.6685 GB, free: 1.469 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)