Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006277/0.006277, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7214/0.7214, allocations: 132.3 MB / 148.1 MB, free: 236 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.452/1.452, allocations: 223.2 MB / 403.2 MB, free: 6.633 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.0008645/0.0008646, allocations: 108.7 kB / 485.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12 kB / 0.5641 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4183, allocations: 81.58 MB / 0.6437 GB, free: 39.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.5827, allocations: 111.5 MB / 0.7526 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.5831, allocations: 79.95 kB / 0.7527 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004536/0.5876, allocations: 1.114 MB / 0.7538 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5877, allocations: 0 / 0.7538 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5877, allocations: 0 / 0.7538 GB, free: 7.215 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.0004809/0.5882, allocations: 351.2 kB / 0.7541 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5882, allocations: 8.031 kB / 0.7541 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.5883, allocations: 0 / 0.7541 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.5884, allocations: 171 kB / 0.7543 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5884, allocations: 0 / 0.7543 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.5885, allocations: 0 / 0.7543 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.5887, allocations: 65.59 kB / 0.7544 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5887, allocations: 4 kB / 0.7544 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5887, allocations: 0 / 0.7544 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5888, allocations: 0 / 0.7544 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.589, allocations: 43.97 kB / 0.7544 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.5896, allocations: 276.8 kB / 0.7547 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.5898, allocations: 42.5 kB / 0.7547 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.59, allocations: 93.09 kB / 0.7548 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.59, allocations: 30.56 kB / 0.7548 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.59, allocations: 4 kB / 0.7548 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000541/0.5906, allocations: 97.73 kB / 0.7549 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.5907, allocations: 51.41 kB / 0.755 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.5907, allocations: 97 kB / 0.7551 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.5908, allocations: 29.7 kB / 0.7551 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.5908, allocations: 84.12 kB / 0.7552 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.5909, allocations: 3.906 kB / 0.7552 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.5909, allocations: 4 kB / 0.7552 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.591, allocations: 322.8 kB / 0.7555 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5912, allocations: 15.98 kB / 0.7555 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.5913, allocations: 35.84 kB / 0.7555 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.5915, allocations: 24.05 kB / 0.7556 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5915, allocations: 0 / 0.7556 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003128/0.5918, allocations: 69.67 kB / 0.7556 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5919, allocations: 11.98 kB / 0.7556 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5919, allocations: 4.031 kB / 0.7556 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5919, allocations: 0 / 0.7556 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.592, allocations: 8 kB / 0.7557 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.592, allocations: 0 / 0.7557 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.5921, allocations: 11.98 kB / 0.7557 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5921, allocations: 0 / 0.7557 GB, free: 5.066 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.984e-05/0.5923, allocations: 109.8 kB / 0.7558 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.5923, allocations: 8 kB / 0.7558 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.5927, allocations: 92.61 kB / 0.7559 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5927, allocations: 0 / 0.7559 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5927, allocations: 0 / 0.7559 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5927, allocations: 0 / 0.7559 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.5929, allocations: 161.7 kB / 0.756 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.593, allocations: 0 / 0.756 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.5931, allocations: 15.98 kB / 0.756 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5931, allocations: 0 / 0.756 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5931, allocations: 0 / 0.756 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5931, allocations: 3.938 kB / 0.756 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5931, allocations: 0 / 0.756 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.5935, allocations: 179.4 kB / 0.7562 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.5935, allocations: 81.11 kB / 0.7563 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5936, allocations: 0 / 0.7563 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.5937, allocations: 8.016 kB / 0.7563 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.5938, allocations: 8 kB / 0.7563 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.5938, allocations: 4 kB / 0.7563 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.5938, allocations: 87.52 kB / 0.7564 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5938, allocations: 0 / 0.7564 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004042/0.5943, allocations: 12 kB / 0.7564 GB, free: 4.215 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 (2): * Single equations (assignments): 2 * 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.0001649/0.5944, allocations: 99.19 kB / 0.7565 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.5948, allocations: 51.95 kB / 0.7565 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.5948, allocations: 4 kB / 0.7566 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.5949, allocations: 23.92 kB / 0.7566 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.5952, allocations: 8.078 kB / 0.7566 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.5956, allocations: 112.6 kB / 0.7567 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.5959, allocations: 0.6809 MB / 0.7574 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.596, allocations: 0 / 0.7574 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.596, allocations: 7.438 kB / 0.7574 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.596, allocations: 4 kB / 0.7574 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of Templates: time 0.003464/0.5995, allocations: 469.1 kB / 0.7578 GB, free: 2.711 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)