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.3335/0.3335, allocations: 54.41 MB / 61.89 MB, free: 13.77 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.0009606/0.0009606, allocations: 184.2 kB / 75.61 MB, free: 0.7734 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.575/1.575, allocations: 194.3 MB / 283.5 MB, free: 14.79 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.001714/0.001714, allocations: 118.1 kB / 341.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.228e-05, allocations: 7.984 kB / 405.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 57.65 MB / 463.1 MB, free: 51.7 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5462, allocations: 84.78 MB / 0.5351 GB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.5465, allocations: 75.95 kB / 0.5352 GB, free: 336 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002798/0.5493, allocations: 0.9082 MB / 0.536 GB, free: 15.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5493, allocations: 0 / 0.536 GB, free: 15.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.5493, allocations: 3.938 kB / 0.5361 GB, free: 15.44 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.0005009/0.5498, allocations: 337.6 kB / 0.5364 GB, free: 15.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.5499, allocations: 12.03 kB / 0.5364 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.55, allocations: 0 / 0.5364 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.5502, allocations: 164.4 kB / 0.5365 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5502, allocations: 4 kB / 0.5365 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.5502, allocations: 1.75 kB / 0.5365 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.888e-05/0.5503, allocations: 8 kB / 0.5366 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.5504, allocations: 43.52 kB / 0.5366 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5504, allocations: 0 / 0.5366 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5504, allocations: 1.734 kB / 0.5366 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5504, allocations: 0 / 0.5366 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.5509, allocations: 251.7 kB / 0.5368 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.551, allocations: 19.52 kB / 0.5369 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.551, allocations: 12.92 kB / 0.5369 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/0.5514, allocations: 206.9 kB / 0.5371 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.5515, allocations: 30.56 kB / 0.5371 GB, free: 14.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5515, allocations: 0 / 0.5371 GB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000271/0.5517, allocations: 57.58 kB / 0.5372 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5518, allocations: 55.34 kB / 0.5372 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.5519, allocations: 96.78 kB / 0.5373 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.5519, allocations: 27.45 kB / 0.5373 GB, free: 13.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.552, allocations: 85.92 kB / 0.5374 GB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.552, allocations: 11.89 kB / 0.5374 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.552, allocations: 0 / 0.5374 GB, free: 13.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5521, allocations: 310.8 kB / 0.5377 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.5522, allocations: 12.03 kB / 0.5377 GB, free: 13.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.5522, allocations: 0 / 0.5377 GB, free: 13.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.5523, allocations: 15.98 kB / 0.5377 GB, free: 13.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5523, allocations: 0 / 0.5377 GB, free: 13.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001385/0.5524, allocations: 53.67 kB / 0.5378 GB, free: 13.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5525, allocations: 4 kB / 0.5378 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5525, allocations: 7.953 kB / 0.5378 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5525, allocations: 1.75 kB / 0.5378 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.5526, allocations: 8.094 kB / 0.5378 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5526, allocations: 8.531 kB / 0.5378 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.5527, allocations: 4 kB / 0.5378 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.5527, allocations: 7.828 kB / 0.5378 GB, free: 13.41 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.095e-05/0.5528, allocations: 104.9 kB / 0.5379 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.5528, allocations: 0 / 0.5379 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.553, allocations: 58.86 kB / 0.538 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.553, allocations: 9.672 kB / 0.538 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.553, allocations: 0 / 0.538 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.553, allocations: 6.188 kB / 0.538 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.5531, allocations: 134.2 kB / 0.5381 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5531, allocations: 0 / 0.5381 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.5532, allocations: 11.98 kB / 0.5381 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5532, allocations: 4 kB / 0.5381 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5532, allocations: 1.562 kB / 0.5381 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5532, allocations: 3.281 kB / 0.5382 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5532, allocations: 0 / 0.5382 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.5535, allocations: 163.3 kB / 0.5383 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.5535, allocations: 77.11 kB / 0.5384 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.5535, allocations: 0 / 0.5384 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.5536, allocations: 8 kB / 0.5384 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.5537, allocations: 3.984 kB / 0.5384 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.5537, allocations: 0 / 0.5384 GB, free: 12.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.61e-05/0.5537, allocations: 92.83 kB / 0.5385 GB, free: 12.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5537, allocations: 0 / 0.5385 GB, free: 12.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.554, allocations: 18 kB / 0.5385 GB, free: 12.66 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.0001672/0.5541, allocations: 103.2 kB / 0.5386 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.5542, allocations: 12 kB / 0.5386 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5542, allocations: 0 / 0.5386 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.5543, allocations: 7.938 kB / 0.5386 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.5544, allocations: 4.125 kB / 0.5386 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.5547, allocations: 62.95 kB / 0.5387 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.555, allocations: 0.6768 MB / 0.5393 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.555, allocations: 4 kB / 0.5393 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.555, allocations: 7.438 kB / 0.5394 GB, free: 11.73 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.555, allocations: 0 / 0.5394 GB, free: 11.73 MB / 394.7 MB Notification: Performance of Templates: time 0.002402/0.5574, allocations: 498.3 kB / 0.5398 GB, free: 11.27 MB / 394.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)