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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 174.7 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/package.mo): time 0.707/0.707, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.465/1.465, allocations: 221.3 MB / 396.8 MB, free: 9.156 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.0009201/0.0009199, allocations: 98.84 kB / 478.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.513e-05, allocations: 5.312 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 81.58 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5588/0.7111, allocations: 110.9 MB / 0.7431 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.7114, allocations: 74 kB / 0.7431 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002608/0.714, allocations: 0.8718 MB / 0.744 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.714, allocations: 0 / 0.744 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.714, allocations: 3.688 kB / 0.744 GB, free: 27.93 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.0002095/0.7142, allocations: 316.9 kB / 0.7443 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.7143, allocations: 12.86 kB / 0.7443 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.7143, allocations: 0 / 0.7443 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.7144, allocations: 168 kB / 0.7445 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.7145, allocations: 3.844 kB / 0.7445 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.7145, allocations: 0.625 kB / 0.7445 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.7146, allocations: 35.5 kB / 0.7445 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7146, allocations: 0 / 0.7445 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.7146, allocations: 0 / 0.7445 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7147, allocations: 8.875 kB / 0.7445 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.7147, allocations: 9.203 kB / 0.7445 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.7148, allocations: 159.9 kB / 0.7447 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.715, allocations: 35.98 kB / 0.7447 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.715, allocations: 8.578 kB / 0.7447 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.7152, allocations: 79.59 kB / 0.7448 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.7152, allocations: 34.44 kB / 0.7448 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.7152, allocations: 0 / 0.7448 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.00233/0.7175, allocations: 355.9 kB / 0.7452 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.7176, allocations: 52.39 kB / 0.7452 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.928e-05/0.7176, allocations: 92.88 kB / 0.7453 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7177, allocations: 25.7 kB / 0.7453 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.543e-05/0.7177, allocations: 80.14 kB / 0.7454 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.7177, allocations: 16.56 kB / 0.7454 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.7177, allocations: 4 kB / 0.7454 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7179, allocations: 315.9 kB / 0.7457 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.7179, allocations: 8.766 kB / 0.7457 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.718, allocations: 26.88 kB / 0.7458 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.718, allocations: 12.97 kB / 0.7458 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.718, allocations: 4 kB / 0.7458 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001435/0.7182, allocations: 61.97 kB / 0.7458 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.7182, allocations: 3.688 kB / 0.7458 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7182, allocations: 0 / 0.7458 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7182, allocations: 3.688 kB / 0.7458 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.7186, allocations: 49.27 kB / 0.7459 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7187, allocations: 1.547 kB / 0.7459 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.719, allocations: 47.38 kB / 0.7459 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.719, allocations: 3.812 kB / 0.7459 GB, free: 26.24 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 8.892e-05/0.7191, allocations: 116.5 kB / 0.7461 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.7191, allocations: 6.812 kB / 0.7461 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.7194, allocations: 86.89 kB / 0.7461 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7194, allocations: 3.875 kB / 0.7461 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7194, allocations: 0 / 0.7461 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7194, allocations: 0 / 0.7461 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.7198, allocations: 311.5 kB / 0.7464 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7198, allocations: 0 / 0.7464 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.7202, allocations: 44.84 kB / 0.7465 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.7202, allocations: 3.812 kB / 0.7465 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.7202, allocations: 0 / 0.7465 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7202, allocations: 0 / 0.7465 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7202, allocations: 0 / 0.7465 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.7204, allocations: 161.4 kB / 0.7466 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.7205, allocations: 85.02 kB / 0.7467 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.7205, allocations: 3.812 kB / 0.7467 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.7208, allocations: 40.83 kB / 0.7468 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.7209, allocations: 3.234 kB / 0.7468 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7209, allocations: 7.812 kB / 0.7468 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.7209, allocations: 75.28 kB / 0.7469 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7209, allocations: 0 / 0.7469 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002168/0.7211, allocations: 7.688 kB / 0.7469 GB, free: 25.45 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.0001795/0.7213, allocations: 113.6 kB / 0.747 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.7215, allocations: 34.62 kB / 0.747 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7215, allocations: 0 / 0.747 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.7215, allocations: 14.52 kB / 0.747 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.7216, allocations: 7.828 kB / 0.747 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.7222, allocations: 105.4 kB / 0.7471 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.7224, allocations: 0.6829 MB / 0.7478 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002412/0.7227, allocations: 30.34 kB / 0.7478 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.7227, allocations: 7.438 kB / 0.7478 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.7227, allocations: 0 / 0.7478 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.002534/0.7253, allocations: 0.7951 MB / 0.7486 GB, free: 24.47 MB / 0.5105 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)