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.3325/0.3325, allocations: 54.41 MB / 61.88 MB, free: 13.74 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.001031/0.001031, allocations: 180.2 kB / 75.61 MB, free: 0.7773 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.479/1.479, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001859/0.001859, allocations: 110.4 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.906e-05, allocations: 8 kB / 405.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4487, allocations: 57.65 MB / 463.2 MB, free: 51.77 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.5715, allocations: 85.44 MB / 0.5357 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5719, allocations: 75.95 kB / 0.5358 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004154/0.576, allocations: 1.33 MB / 0.5371 GB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5761, allocations: 0 / 0.5371 GB, free: 14.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5761, allocations: 0 / 0.5371 GB, free: 14.36 MB / 394.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.0004693/0.5766, allocations: 344.7 kB / 0.5374 GB, free: 13.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.905e-05/0.5766, allocations: 12.97 kB / 0.5374 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.5767, allocations: 0.5625 kB / 0.5374 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.5769, allocations: 169.4 kB / 0.5376 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5769, allocations: 0 / 0.5376 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.577, allocations: 0 / 0.5376 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.878e-05/0.5771, allocations: 21.42 kB / 0.5376 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.5772, allocations: 37.69 kB / 0.5377 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5772, allocations: 0 / 0.5377 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5772, allocations: 0 / 0.5377 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5773, allocations: 0 / 0.5377 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.5777, allocations: 236.1 kB / 0.5379 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.5778, allocations: 24.42 kB / 0.5379 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.5779, allocations: 20.81 kB / 0.5379 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000805/0.5787, allocations: 469.5 kB / 0.5384 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.5787, allocations: 34.56 kB / 0.5384 GB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5787, allocations: 5.75 kB / 0.5384 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.003219/0.582, allocations: 0.5441 MB / 0.5389 GB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.582, allocations: 51.41 kB / 0.539 GB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.5821, allocations: 101 kB / 0.5391 GB, free: 12.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.5822, allocations: 25.7 kB / 0.5391 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.5822, allocations: 92.12 kB / 0.5392 GB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.5823, allocations: 7.844 kB / 0.5392 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.5823, allocations: 0 / 0.5392 GB, free: 11.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5824, allocations: 310.8 kB / 0.5395 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.5824, allocations: 8 kB / 0.5395 GB, free: 11.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.5825, allocations: 4 kB / 0.5395 GB, free: 11.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.5854, allocations: 0.5112 MB / 0.54 GB, free: 11.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5854, allocations: 0 / 0.54 GB, free: 11.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.002967/0.5884, allocations: 0.5557 MB / 0.5406 GB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.5884, allocations: 7.953 kB / 0.5406 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5884, allocations: 0 / 0.5406 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5884, allocations: 3.828 kB / 0.5406 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.5885, allocations: 7.984 kB / 0.5406 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5885, allocations: 4 kB / 0.5406 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.5886, allocations: 4.031 kB / 0.5406 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.5886, allocations: 4 kB / 0.5406 GB, free: 10.51 MB / 394.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 () * 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.668e-05/0.5887, allocations: 101 kB / 0.5407 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.5887, allocations: 0 / 0.5407 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.5917, allocations: 0.5704 MB / 0.5412 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5918, allocations: 0 / 0.5412 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.5918, allocations: 5.734 kB / 0.5413 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5918, allocations: 1.969 kB / 0.5413 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.5919, allocations: 134.2 kB / 0.5414 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.592, allocations: 0 / 0.5414 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.592, allocations: 11.98 kB / 0.5414 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.592, allocations: 0 / 0.5414 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.592, allocations: 0 / 0.5414 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.592, allocations: 4.031 kB / 0.5414 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.5921, allocations: 3.953 kB / 0.5414 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.5951, allocations: 0.6435 MB / 0.542 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.5952, allocations: 77.11 kB / 0.5421 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.5952, allocations: 0 / 0.5421 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.5953, allocations: 6.562 kB / 0.5421 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.5953, allocations: 0 / 0.5421 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5953, allocations: 7.938 kB / 0.5421 GB, free: 8.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.5954, allocations: 94.34 kB / 0.5422 GB, free: 8.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5954, allocations: 0.6562 kB / 0.5422 GB, free: 8.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.5956, allocations: 23.94 kB / 0.5422 GB, free: 8.766 MB / 394.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 () * 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.0002248/0.5959, allocations: 121.8 kB / 0.5423 GB, free: 8.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.596, allocations: 12 kB / 0.5424 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.596, allocations: 0 / 0.5424 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.596, allocations: 8 kB / 0.5424 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.5961, allocations: 1.125 kB / 0.5424 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.5964, allocations: 66.89 kB / 0.5424 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5967, allocations: 0.6886 MB / 0.5431 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.5967, allocations: 3.938 kB / 0.5431 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.5968, allocations: 11.44 kB / 0.5431 GB, free: 7.805 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5968, allocations: 0 / 0.5431 GB, free: 7.805 MB / 394.7 MB Notification: Performance of Templates: time 0.002603/0.5994, allocations: 0.5721 MB / 0.5437 GB, free: 7.258 MB / 394.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)