Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.299/0.299, allocations: 55.01 MB / 69.96 MB, free: 8.668 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001249/0.001249, allocations: 189.7 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.733/1.733, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001725/0.001725, allocations: 125.5 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 16 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5811, allocations: 85.53 MB / 0.5489 GB, free: 3.852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5814, allocations: 75.62 kB / 0.5489 GB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00265/0.5841, allocations: 0.9158 MB / 0.5498 GB, free: 2.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5841, allocations: 4 kB / 0.5498 GB, free: 2.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.5841, allocations: 0 / 0.5498 GB, free: 2.969 MB / 362.7 MB 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.0003481/0.5845, allocations: 346.5 kB / 0.5502 GB, free: 2.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5846, allocations: 12.03 kB / 0.5502 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.5846, allocations: 4 kB / 0.5502 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5847, allocations: 163 kB / 0.5503 GB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5847, allocations: 0 / 0.5503 GB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.5848, allocations: 4 kB / 0.5504 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.5849, allocations: 61 kB / 0.5504 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.585, allocations: 0 / 0.5504 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.585, allocations: 0 / 0.5504 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.585, allocations: 4 kB / 0.5504 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.5852, allocations: 43.39 kB / 0.5505 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.5855, allocations: 267.6 kB / 0.5507 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.5856, allocations: 49.83 kB / 0.5508 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.586, allocations: 205.7 kB / 0.551 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.586, allocations: 34.56 kB / 0.551 GB, free: 1.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.586, allocations: 0 / 0.551 GB, free: 1.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003359/0.5863, allocations: 96.64 kB / 0.5511 GB, free: 1.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.5864, allocations: 51.41 kB / 0.5511 GB, free: 1.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.5865, allocations: 96.38 kB / 0.5512 GB, free: 1.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.5865, allocations: 25.7 kB / 0.5512 GB, free: 1.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.5865, allocations: 80.14 kB / 0.5513 GB, free: 1.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.5866, allocations: 15.52 kB / 0.5513 GB, free: 1.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5866, allocations: 0 / 0.5513 GB, free: 1.254 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.5866, allocations: 314.8 kB / 0.5516 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.5867, allocations: 23.23 kB / 0.5517 GB, free: 0.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.5868, allocations: 19.98 kB / 0.5517 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.5869, allocations: 27.34 kB / 0.5517 GB, free: 0.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5869, allocations: 0 / 0.5517 GB, free: 0.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.5871, allocations: 79.55 kB / 0.5518 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5871, allocations: 9.828 kB / 0.5518 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5871, allocations: 0 / 0.5518 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5871, allocations: 0 / 0.5518 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.5872, allocations: 15.92 kB / 0.5518 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5872, allocations: 3.828 kB / 0.5518 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.5873, allocations: 11.98 kB / 0.5518 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.5873, allocations: 0 / 0.5518 GB, free: 0.7617 MB / 362.7 MB 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 6.186e-05/0.5874, allocations: 113.9 kB / 0.5519 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.5874, allocations: 3.906 kB / 0.5519 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.5876, allocations: 98.67 kB / 0.552 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5876, allocations: 4.031 kB / 0.552 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5876, allocations: 2.188 kB / 0.552 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5876, allocations: 3.984 kB / 0.552 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.5878, allocations: 157.5 kB / 0.5522 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5878, allocations: 4 kB / 0.5522 GB, free: 344 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.5878, allocations: 11.98 kB / 0.5522 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5878, allocations: 0 / 0.5522 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5879, allocations: 0 / 0.5522 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5879, allocations: 3.953 kB / 0.5522 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5879, allocations: 0 / 0.5522 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.5881, allocations: 179.1 kB / 0.5524 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.5881, allocations: 81.05 kB / 0.5525 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.5881, allocations: 4.031 kB / 0.5525 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.5882, allocations: 11.98 kB / 0.5525 GB, free: 24 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.5882, allocations: 3.953 kB / 0.5525 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.5882, allocations: 0 / 0.5525 GB, free: 20 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.712e-05/0.5883, allocations: 91.39 kB / 0.5526 GB, free: 15.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5883, allocations: 0 / 0.5526 GB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.5885, allocations: 12 kB / 0.5526 GB, free: 15.92 MB / 378.7 MB 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.0001551/0.5887, allocations: 103.2 kB / 0.5527 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.5889, allocations: 47.77 kB / 0.5527 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.5889, allocations: 0 / 0.5527 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.589, allocations: 31.61 kB / 0.5527 GB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.5892, allocations: 4 kB / 0.5527 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.5895, allocations: 116.9 kB / 0.5529 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5897, allocations: 0.6809 MB / 0.5535 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.471e-05/0.5898, allocations: 4 kB / 0.5535 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.5898, allocations: 11.5 kB / 0.5535 GB, free: 14.88 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5898, allocations: 0 / 0.5535 GB, free: 14.88 MB / 378.7 MB Notification: Performance of Templates: time 0.002622/0.5924, allocations: 0.5045 MB / 0.554 GB, free: 14.39 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)