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.00587/0.00587, allocations: 171.1 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-master/package.mo): time 0.7202/0.7202, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.645/1.645, allocations: 223.2 MB / 406.9 MB, free: 3.234 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.00117/0.00117, allocations: 95.62 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.418, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.5736, allocations: 111.2 MB / 0.7581 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5739, allocations: 79.94 kB / 0.7582 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002453/0.5763, allocations: 0.8877 MB / 0.759 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/0.5763, allocations: 96 / 0.759 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5764, allocations: 0 / 0.759 GB, free: 3.859 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.0002912/0.5767, allocations: 320.5 kB / 0.7593 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5767, allocations: 12.03 kB / 0.7593 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.5768, allocations: 3.938 kB / 0.7593 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.5769, allocations: 175 kB / 0.7595 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.5769, allocations: 0 / 0.7595 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.577, allocations: 4 kB / 0.7595 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.5771, allocations: 33.7 kB / 0.7595 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5771, allocations: 3.938 kB / 0.7595 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.5771, allocations: 0 / 0.7595 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5771, allocations: 0 / 0.7595 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.5772, allocations: 11.92 kB / 0.7596 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.5774, allocations: 157.6 kB / 0.7597 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.5775, allocations: 38.56 kB / 0.7597 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.5777, allocations: 81.19 kB / 0.7598 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5777, allocations: 34.56 kB / 0.7599 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.5777, allocations: 0 / 0.7599 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.004155/0.5819, allocations: 0.5598 MB / 0.7604 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.582, allocations: 59.34 kB / 0.7605 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.8e-05/0.582, allocations: 89 kB / 0.7605 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.582, allocations: 25.7 kB / 0.7606 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.5821, allocations: 80.14 kB / 0.7606 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.5821, allocations: 11.81 kB / 0.7607 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.5821, allocations: 0 / 0.7607 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5823, allocations: 314.8 kB / 0.761 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.5829, allocations: 87.94 kB / 0.761 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.5834, allocations: 102.5 kB / 0.7611 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.584, allocations: 83.95 kB / 0.7612 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.584, allocations: 4 kB / 0.7612 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001199/0.5852, allocations: 209.6 kB / 0.7614 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5853, allocations: 7.984 kB / 0.7614 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5853, allocations: 0 / 0.7614 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5853, allocations: 0 / 0.7614 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.5857, allocations: 56 kB / 0.7615 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5857, allocations: 3.938 kB / 0.7615 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.5861, allocations: 39.98 kB / 0.7615 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.5861, allocations: 4 kB / 0.7615 GB, free: 1.051 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.367e-05/0.5862, allocations: 113.8 kB / 0.7616 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.5862, allocations: 7.859 kB / 0.7616 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.5876, allocations: 241.1 kB / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5876, allocations: 0 / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5876, allocations: 256 / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5876, allocations: 432 / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.5891, allocations: 466.4 kB / 0.7623 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5891, allocations: 0 / 0.7623 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.5895, allocations: 47.91 kB / 0.7624 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5895, allocations: 8 kB / 0.7624 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5895, allocations: 3.938 kB / 0.7624 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5895, allocations: 0 / 0.7624 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5895, allocations: 0 / 0.7624 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.5908, allocations: 311.3 kB / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.5908, allocations: 77.11 kB / 0.7627 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.5909, allocations: 4 kB / 0.7627 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.5912, allocations: 43.97 kB / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.5912, allocations: 0 / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.5912, allocations: 4 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.5913, allocations: 79.28 kB / 0.7629 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.5913, allocations: 0 / 0.7629 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002439/0.5915, allocations: 8 kB / 0.7629 GB, free: 15.56 MB / 0.5417 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.0002091/0.5917, allocations: 111.2 kB / 0.763 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.5929, allocations: 175.8 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5929, allocations: 8.188 kB / 0.7632 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.5935, allocations: 83.94 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.5936, allocations: 7.953 kB / 0.7632 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5947, allocations: 226.5 kB / 0.7635 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.595, allocations: 0.6809 MB / 0.7641 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.5952, allocations: 28 kB / 0.7642 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.5953, allocations: 7.438 kB / 0.7642 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/0.5953, allocations: 4 kB / 0.7642 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of Templates: time 0.002684/0.598, allocations: 0.7875 MB / 0.7649 GB, free: 13.39 MB / 0.5417 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)