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.001054/0.001054, allocations: 173.8 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7511/0.7511, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0009549/0.0009548, allocations: 99.88 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.989e-05, allocations: 8 kB / 0.5535 GB, free: 9.016 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.4999, allocations: 82.3 MB / 0.6338 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.6644, allocations: 110.5 MB / 0.7417 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.6648, allocations: 79.94 kB / 0.7418 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002473/0.6672, allocations: 0.8761 MB / 0.7427 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6673, allocations: 0 / 0.7427 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6673, allocations: 7.938 kB / 0.7427 GB, free: 11.33 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.000252/0.6675, allocations: 310.6 kB / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6676, allocations: 8.031 kB / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.6676, allocations: 0 / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6677, allocations: 170.9 kB / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6678, allocations: 4 kB / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.6678, allocations: 0 / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.937e-05/0.6679, allocations: 7.984 kB / 0.7431 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.6679, allocations: 37.7 kB / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.668, allocations: 4 kB / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.668, allocations: 0 / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.668, allocations: 0 / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.6681, allocations: 134.1 kB / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.6683, allocations: 34.47 kB / 0.7433 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.6683, allocations: 8.859 kB / 0.7433 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.6685, allocations: 89.22 kB / 0.7434 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6685, allocations: 34.56 kB / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6685, allocations: 0 / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.002593/0.6711, allocations: 353.4 kB / 0.7438 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6712, allocations: 55.41 kB / 0.7439 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.121e-05/0.6712, allocations: 85 kB / 0.7439 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.6713, allocations: 25.7 kB / 0.744 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.6713, allocations: 84.14 kB / 0.744 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.6714, allocations: 15.75 kB / 0.7441 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.6714, allocations: 0 / 0.7441 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6715, allocations: 318.8 kB / 0.7444 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.6715, allocations: 8 kB / 0.7444 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.6716, allocations: 22.58 kB / 0.7444 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.6717, allocations: 19.98 kB / 0.7444 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6717, allocations: 0 / 0.7444 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.6719, allocations: 65.56 kB / 0.7445 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6719, allocations: 13.86 kB / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6719, allocations: 0 / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6719, allocations: 0 / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.6724, allocations: 56.34 kB / 0.7445 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6724, allocations: 0 / 0.7445 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.6727, allocations: 39.98 kB / 0.7446 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.6728, allocations: 3.938 kB / 0.7446 GB, free: 9.141 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 () * 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.663e-05/0.6729, allocations: 108.9 kB / 0.7447 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.6729, allocations: 11.84 kB / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.6732, allocations: 89.8 kB / 0.7448 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6732, allocations: 0 / 0.7448 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6732, allocations: 7.938 kB / 0.7448 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6732, allocations: 0 / 0.7448 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.6737, allocations: 287 kB / 0.7451 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6737, allocations: 4 kB / 0.7451 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.6741, allocations: 48.28 kB / 0.7451 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6741, allocations: 0 / 0.7451 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6741, allocations: 7.984 kB / 0.7451 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6741, allocations: 4 kB / 0.7451 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6741, allocations: 4 kB / 0.7451 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.6744, allocations: 155.5 kB / 0.7453 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.6745, allocations: 81.06 kB / 0.7454 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.6745, allocations: 4 kB / 0.7454 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.6749, allocations: 39.97 kB / 0.7454 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.6749, allocations: 4 kB / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.6749, allocations: 0 / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.675, allocations: 75.28 kB / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.763e-06/0.675, allocations: 4 kB / 0.7455 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002339/0.6752, allocations: 11.94 kB / 0.7455 GB, free: 8.117 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 () * 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.0001974/0.6754, allocations: 111.2 kB / 0.7456 GB, free: 8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.6755, allocations: 23.94 kB / 0.7456 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6755, allocations: 0 / 0.7456 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.6756, allocations: 15.98 kB / 0.7456 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.6757, allocations: 4 kB / 0.7456 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.6763, allocations: 100.1 kB / 0.7457 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.6766, allocations: 0.6807 MB / 0.7464 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.6768, allocations: 28 kB / 0.7464 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.6769, allocations: 15.44 kB / 0.7464 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6769, allocations: 0 / 0.7464 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.002575/0.6795, allocations: 0.7859 MB / 0.7472 GB, free: 6.305 MB / 0.5261 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)