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.009558/0.009558, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.756/0.756, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 403.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000877/0.0008773, allocations: 99.28 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003932, allocations: 12 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4351, allocations: 81.57 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.5871, allocations: 111 MB / 0.7521 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5874, allocations: 75.95 kB / 0.7522 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002433/0.5898, allocations: 0.8877 MB / 0.7531 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.797e-06/0.5899, allocations: 4 kB / 0.7531 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5899, allocations: 0 / 0.7531 GB, free: 8.062 MB / 0.5261 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.0003008/0.5902, allocations: 317.8 kB / 0.7534 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5903, allocations: 12.03 kB / 0.7534 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.5903, allocations: 3.984 kB / 0.7534 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.5904, allocations: 171 kB / 0.7535 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5904, allocations: 0 / 0.7535 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5905, allocations: 4 kB / 0.7535 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.5906, allocations: 37.62 kB / 0.7536 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5906, allocations: 0 / 0.7536 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5906, allocations: 0 / 0.7536 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5906, allocations: 0 / 0.7536 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.5907, allocations: 19.92 kB / 0.7536 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.5908, allocations: 157.5 kB / 0.7538 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.591, allocations: 34.61 kB / 0.7538 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.5911, allocations: 85.19 kB / 0.7539 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.5912, allocations: 34.5 kB / 0.7539 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5912, allocations: 0 / 0.7539 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.004102/0.5953, allocations: 0.5599 MB / 0.7544 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.5953, allocations: 63.33 kB / 0.7545 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.873e-05/0.5954, allocations: 89 kB / 0.7546 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5954, allocations: 25.7 kB / 0.7546 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.5954, allocations: 80.14 kB / 0.7547 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.5955, allocations: 11.81 kB / 0.7547 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.5955, allocations: 0 / 0.7547 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5956, allocations: 314.8 kB / 0.755 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.5962, allocations: 83.95 kB / 0.7551 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.5968, allocations: 106.5 kB / 0.7552 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.5974, allocations: 87.91 kB / 0.7553 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5974, allocations: 0 / 0.7553 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001216/0.5987, allocations: 209.6 kB / 0.7555 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5987, allocations: 4 kB / 0.7555 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5987, allocations: 0 / 0.7555 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5987, allocations: 4 kB / 0.7555 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.5991, allocations: 51.94 kB / 0.7555 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5991, allocations: 7.969 kB / 0.7555 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.5995, allocations: 39.98 kB / 0.7556 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.5995, allocations: 4 kB / 0.7556 GB, free: 5.25 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.099e-05/0.5996, allocations: 117.7 kB / 0.7557 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.5996, allocations: 11.91 kB / 0.7557 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.601, allocations: 233.1 kB / 0.7559 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.601, allocations: 3.938 kB / 0.7559 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.601, allocations: 0 / 0.7559 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.601, allocations: 0 / 0.7559 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.6025, allocations: 458.9 kB / 0.7564 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6025, allocations: 0 / 0.7564 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.6029, allocations: 51.97 kB / 0.7564 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6029, allocations: 0 / 0.7564 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.6029, allocations: 8.25 kB / 0.7564 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.603, allocations: 7.938 kB / 0.7564 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.603, allocations: 0 / 0.7564 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.6042, allocations: 307.4 kB / 0.7567 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.6043, allocations: 81.11 kB / 0.7568 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.6043, allocations: 0 / 0.7568 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.6047, allocations: 43.97 kB / 0.7568 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.6047, allocations: 0 / 0.7568 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.6048, allocations: 8 kB / 0.7568 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.6048, allocations: 75.28 kB / 0.7569 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6048, allocations: 0 / 0.7569 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002605/0.6051, allocations: 8 kB / 0.7569 GB, free: 3.762 MB / 0.5261 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 (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.0002194/0.6053, allocations: 107.2 kB / 0.757 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.6065, allocations: 183.8 kB / 0.7572 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6066, allocations: 4 kB / 0.7572 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.6071, allocations: 88.08 kB / 0.7573 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.6073, allocations: 13.92 kB / 0.7573 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.6084, allocations: 218.6 kB / 0.7575 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.6087, allocations: 0.6809 MB / 0.7582 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.6089, allocations: 28 kB / 0.7582 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.609, allocations: 11.44 kB / 0.7582 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.609, allocations: 0 / 0.7582 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of Templates: time 0.002646/0.6117, allocations: 0.7757 MB / 0.759 GB, free: 1.605 MB / 0.5261 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)