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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3908/0.3908, allocations: 54.93 MB / 324.3 MB, free: 156 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 64.33 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1564, allocations: 59.59 MB / 454.3 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.239/0.3954, allocations: 1.465 MB / 455.8 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.3958, allocations: 117.9 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.3959, allocations: 2.594 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.396, allocations: 3 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.396, allocations: 2.531 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.3963, allocations: 23.56 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.3963, allocations: 27.47 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3965, allocations: 4.438 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.3965, allocations: 9.516 kB / 455.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.3966, allocations: 12.19 kB / 456 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3966, allocations: 5.875 kB / 456 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.3967, allocations: 25.36 kB / 456 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.3967, allocations: 2.375 kB / 456 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.3968, allocations: 12.86 kB / 456 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3969, allocations: 40.2 kB / 456 MB, free: 39.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3969, allocations: 5.25 kB / 456 MB, free: 39.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3969, allocations: 2.844 kB / 456 MB, free: 39.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.3969, allocations: 0.625 kB / 456 MB, free: 39.33 MB / 382.1 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.0004505/0.3974, allocations: 341.5 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3974, allocations: 8.562 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.3975, allocations: 3.656 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3976, allocations: 169.9 kB / 456.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3976, allocations: 5.781 kB / 456.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3976, allocations: 3.719 kB / 456.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3978, allocations: 51.88 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3978, allocations: 1 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3979, allocations: 1 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3979, allocations: 2.812 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.398, allocations: 35.34 kB / 456.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.3984, allocations: 252.7 kB / 456.9 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3986, allocations: 41.7 kB / 456.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.3987, allocations: 23.91 kB / 457 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.3991, allocations: 202 kB / 457.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3991, allocations: 37.62 kB / 457.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3992, allocations: 0 / 457.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.3995, allocations: 87.08 kB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.3996, allocations: 51.41 kB / 457.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.3997, allocations: 105.8 kB / 457.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3997, allocations: 28.33 kB / 457.5 MB, free: 38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.3997, allocations: 81.27 kB / 457.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3998, allocations: 7.703 kB / 457.6 MB, free: 37.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3998, allocations: 16.91 kB / 457.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.3999, allocations: 311.5 kB / 457.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.4, allocations: 18.97 kB / 457.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.4, allocations: 18.19 kB / 457.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4002, allocations: 45.69 kB / 458 MB, free: 37.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4002, allocations: 0 / 458 MB, free: 37.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.4004, allocations: 63.47 kB / 458 MB, free: 37.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4004, allocations: 10.62 kB / 458 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4004, allocations: 2.344 kB / 458 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4005, allocations: 5.297 kB / 458 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4006, allocations: 6.688 kB / 458 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4006, allocations: 3.906 kB / 458 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.4006, allocations: 5.844 kB / 458.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.4007, allocations: 3 kB / 458.1 MB, free: 37.54 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.4007, allocations: 117.8 kB / 458.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.4008, allocations: 0 / 458.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.401, allocations: 72.52 kB / 458.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.401, allocations: 0 / 458.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.401, allocations: 0 / 458.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.401, allocations: 0.625 kB / 458.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.4012, allocations: 164.7 kB / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4012, allocations: 1.312 kB / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.4012, allocations: 13.58 kB / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4013, allocations: 0 / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4013, allocations: 0.75 kB / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4013, allocations: 0 / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4013, allocations: 0.8125 kB / 458.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.4015, allocations: 173.1 kB / 458.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.4015, allocations: 81.11 kB / 458.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4015, allocations: 0 / 458.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.4016, allocations: 7.266 kB / 458.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4017, allocations: 6.875 kB / 458.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4017, allocations: 5.297 kB / 458.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.4017, allocations: 79.31 kB / 458.8 MB, free: 36.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4017, allocations: 0 / 458.8 MB, free: 36.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000224/0.4019, allocations: 8.125 kB / 458.8 MB, free: 36.9 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.4021, allocations: 113.1 kB / 458.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.4023, allocations: 38.75 kB / 458.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4023, allocations: 0 / 458.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.4024, allocations: 23.39 kB / 458.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.4027, allocations: 12.94 kB / 459 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.4029, allocations: 110 kB / 459.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4031, allocations: 0.678 MB / 459.7 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.4031, allocations: 0.6875 kB / 459.7 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.4031, allocations: 11.12 kB / 459.8 MB, free: 35.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4031, allocations: 0 / 459.8 MB, free: 35.99 MB / 382.1 MB Notification: Performance of Templates: time 0.002601/0.4057, allocations: 0.5653 MB / 460.3 MB, free: 35.95 MB / 382.1 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)