Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3874/0.3874, allocations: 55.01 MB / 69.96 MB, free: 8.66 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.001102/0.001101, allocations: 194 kB / 83.98 MB, free: 10.84 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.748/1.748, allocations: 194.4 MB / 292.3 MB, free: 3.59 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.001724/0.001724, allocations: 120.3 kB / 350.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003882, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 57.64 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5375, allocations: 86.2 MB / 0.5495 GB, free: 3.199 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.5377, allocations: 81.06 kB / 0.5496 GB, free: 3.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003717/0.5415, allocations: 1.333 MB / 0.5509 GB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5415, allocations: 0 / 0.5509 GB, free: 1.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.5415, allocations: 0 / 0.5509 GB, free: 1.977 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.0003176/0.5418, allocations: 361.9 kB / 0.5512 GB, free: 1.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5419, allocations: 8.031 kB / 0.5513 GB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.5419, allocations: 7.906 kB / 0.5513 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.897e-05/0.542, allocations: 163.1 kB / 0.5514 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.5421, allocations: 7.938 kB / 0.5514 GB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.5421, allocations: 3.984 kB / 0.5514 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.5422, allocations: 49.06 kB / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5422, allocations: 0 / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.5422, allocations: 0 / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5423, allocations: 4 kB / 0.5515 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.5424, allocations: 27.86 kB / 0.5515 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.5427, allocations: 252.3 kB / 0.5517 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.5428, allocations: 37.83 kB / 0.5518 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/0.5433, allocations: 469.3 kB / 0.5522 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.5433, allocations: 31.44 kB / 0.5523 GB, free: 372 kB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.5433, allocations: 0 / 0.5523 GB, free: 372 kB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.5436, allocations: 80.14 kB / 0.5523 GB, free: 292 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.5436, allocations: 51.41 kB / 0.5524 GB, free: 228 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.5437, allocations: 104.3 kB / 0.5525 GB, free: 120 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.5437, allocations: 29.7 kB / 0.5525 GB, free: 84 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.5437, allocations: 84.08 kB / 0.5526 GB, free: 0 / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.5438, allocations: 4.078 kB / 0.5526 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.5438, allocations: 128 / 0.5526 GB, free: 15.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5439, allocations: 326 kB / 0.5529 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.5439, allocations: 4 kB / 0.5529 GB, free: 15.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.544, allocations: 15.3 kB / 0.5529 GB, free: 15.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.544, allocations: 11.88 kB / 0.5529 GB, free: 15.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.544, allocations: 0 / 0.5529 GB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.5442, allocations: 76.16 kB / 0.553 GB, free: 15.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5442, allocations: 4 kB / 0.553 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5442, allocations: 0 / 0.553 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5442, allocations: 0 / 0.553 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.5443, allocations: 4 kB / 0.553 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5443, allocations: 0 / 0.553 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.5444, allocations: 7.984 kB / 0.553 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.5444, allocations: 0 / 0.553 GB, free: 15.56 MB / 378.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 7.706e-05/0.5445, allocations: 116.3 kB / 0.5531 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.5445, allocations: 9.609 kB / 0.5531 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.5447, allocations: 70.72 kB / 0.5532 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5447, allocations: 4 kB / 0.5532 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5447, allocations: 0 / 0.5532 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5447, allocations: 0 / 0.5532 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.5449, allocations: 164.6 kB / 0.5534 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5449, allocations: 0 / 0.5534 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.5449, allocations: 8 kB / 0.5534 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5449, allocations: 0 / 0.5534 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.545, allocations: 7.891 kB / 0.5534 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.545, allocations: 0 / 0.5534 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.545, allocations: 3.938 kB / 0.5534 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.5452, allocations: 158.8 kB / 0.5535 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.5452, allocations: 81.02 kB / 0.5536 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5452, allocations: 3.938 kB / 0.5536 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.5453, allocations: 7.953 kB / 0.5536 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.5453, allocations: 3.984 kB / 0.5536 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.5453, allocations: 0 / 0.5536 GB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.5454, allocations: 85.78 kB / 0.5537 GB, free: 14.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5454, allocations: 32 / 0.5537 GB, free: 14.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.5456, allocations: 34.17 kB / 0.5537 GB, free: 14.75 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.0001883/0.5458, allocations: 111.2 kB / 0.5539 GB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.546, allocations: 29.92 kB / 0.5539 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.546, allocations: 0 / 0.5539 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.546, allocations: 20.05 kB / 0.5539 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.5462, allocations: 5.266 kB / 0.5539 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.5465, allocations: 131.9 kB / 0.554 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.5467, allocations: 0.6848 MB / 0.5547 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.5468, allocations: 0 / 0.5547 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.5468, allocations: 11.5 kB / 0.5547 GB, free: 13.71 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5468, allocations: 4 kB / 0.5547 GB, free: 13.71 MB / 378.7 MB Notification: Performance of Templates: time 0.002523/0.5494, allocations: 0.5863 MB / 0.5553 GB, free: 13.13 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)