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.001486/0.001486, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 133.4 MB / 146.7 MB, free: 10.76 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.667/1.667, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009629/0.0009629, allocations: 87.88 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.583e-05/6.596e-05, allocations: 9.344 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1769, allocations: 82.31 MB / 0.6404 GB, free: 7.781 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6541/0.8311, allocations: 111.1 MB / 0.7489 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.8314, allocations: 84.02 kB / 0.749 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002371/0.8338, allocations: 0.8727 MB / 0.7499 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8338, allocations: 0 / 0.7499 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8338, allocations: 0 / 0.7499 GB, free: 27.69 MB / 0.5105 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.0002118/0.834, allocations: 314.8 kB / 0.7502 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8341, allocations: 14.02 kB / 0.7502 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.8341, allocations: 4 kB / 0.7502 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.866e-05/0.8342, allocations: 167 kB / 0.7504 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.8342, allocations: 0 / 0.7504 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.8342, allocations: 5.984 kB / 0.7504 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.8343, allocations: 39.84 kB / 0.7504 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8343, allocations: 0 / 0.7504 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.8343, allocations: 0 / 0.7504 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8344, allocations: 0 / 0.7504 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.8344, allocations: 10.77 kB / 0.7504 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.8345, allocations: 161 kB / 0.7506 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.8347, allocations: 33.8 kB / 0.7506 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.8347, allocations: 8.828 kB / 0.7506 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.8348, allocations: 83.73 kB / 0.7507 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.8349, allocations: 30.56 kB / 0.7507 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8349, allocations: 0 / 0.7507 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.002395/0.8373, allocations: 354.7 kB / 0.7511 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.8373, allocations: 55.25 kB / 0.7511 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.975e-05/0.8374, allocations: 85 kB / 0.7512 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.8374, allocations: 29.64 kB / 0.7512 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.8374, allocations: 84.08 kB / 0.7513 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.8375, allocations: 14.33 kB / 0.7513 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.8375, allocations: 3.938 kB / 0.7513 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8376, allocations: 314.8 kB / 0.7516 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.8376, allocations: 3.844 kB / 0.7516 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.8377, allocations: 40 kB / 0.7517 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.8377, allocations: 3.719 kB / 0.7517 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8377, allocations: 3.953 kB / 0.7517 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001414/0.8379, allocations: 71.19 kB / 0.7517 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8379, allocations: 7.688 kB / 0.7517 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8379, allocations: 0 / 0.7517 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8379, allocations: 0 / 0.7517 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.8383, allocations: 49.88 kB / 0.7518 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.8383, allocations: 2.297 kB / 0.7518 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.8387, allocations: 40.88 kB / 0.7518 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.8387, allocations: 7.75 kB / 0.7518 GB, free: 26 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.8388, allocations: 108.9 kB / 0.7519 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.8388, allocations: 11.58 kB / 0.7519 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.8391, allocations: 82.11 kB / 0.752 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8391, allocations: 4 kB / 0.752 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8391, allocations: 0 / 0.752 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8391, allocations: 0 / 0.752 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.8395, allocations: 309.1 kB / 0.7523 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8395, allocations: 0 / 0.7523 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.8399, allocations: 50.38 kB / 0.7524 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8399, allocations: 0 / 0.7524 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.8399, allocations: 1 kB / 0.7524 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8399, allocations: 0 / 0.7524 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8399, allocations: 0 / 0.7524 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.8401, allocations: 163.5 kB / 0.7525 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.8401, allocations: 77.11 kB / 0.7526 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.8402, allocations: 3.969 kB / 0.7526 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.8405, allocations: 48.81 kB / 0.7527 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.8406, allocations: 0 / 0.7527 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.8406, allocations: 3.844 kB / 0.7527 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.8406, allocations: 75.28 kB / 0.7527 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8406, allocations: 3.938 kB / 0.7527 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002186/0.8408, allocations: 7.625 kB / 0.7527 GB, free: 25.21 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.841, allocations: 112.8 kB / 0.7528 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.8411, allocations: 33.2 kB / 0.7529 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8412, allocations: 0 / 0.7529 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.8412, allocations: 14.52 kB / 0.7529 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.8413, allocations: 6.797 kB / 0.7529 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.8419, allocations: 108.2 kB / 0.753 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.8422, allocations: 0.6793 MB / 0.7537 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.8424, allocations: 38.72 kB / 0.7537 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.8425, allocations: 15.28 kB / 0.7537 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.8425, allocations: 0 / 0.7537 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.002376/0.8448, allocations: 0.7885 MB / 0.7545 GB, free: 24.23 MB / 0.5105 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)