Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001195/0.001195, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8038/0.8038, allocations: 132.2 MB / 423.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.88 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3481, allocations: 80.18 MB / 0.5807 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002652/0.3508, allocations: 1.763 MB / 0.5825 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.3518, allocations: 0.6681 MB / 0.5831 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.3519, allocations: 1.344 kB / 0.5831 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.3519, allocations: 13.14 kB / 0.5831 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.352, allocations: 14.12 kB / 0.5831 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.3525, allocations: 171.2 kB / 0.5833 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3526, allocations: 125.1 kB / 0.5834 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3528, allocations: 50.48 kB / 0.5835 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3529, allocations: 58.39 kB / 0.5835 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.353, allocations: 50.44 kB / 0.5836 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.353, allocations: 13.22 kB / 0.5836 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3531, allocations: 52.16 kB / 0.5836 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.3532, allocations: 26.33 kB / 0.5837 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.3532, allocations: 57.83 kB / 0.5837 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3534, allocations: 145.6 kB / 0.5839 GB, free: 24.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3534, allocations: 2.344 kB / 0.5839 GB, free: 24.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3534, allocations: 0 / 0.5839 GB, free: 24.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3534, allocations: 0 / 0.5839 GB, free: 24.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005097/0.354, allocations: 434.8 kB / 0.5843 GB, free: 24.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.354, allocations: 14.08 kB / 0.5843 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.3548, allocations: 116 kB / 0.5844 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.3549, allocations: 184.2 kB / 0.5846 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.355, allocations: 64.2 kB / 0.5846 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3551, allocations: 8.25 kB / 0.5846 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.3556, allocations: 169.8 kB / 0.5848 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3556, allocations: 1.188 kB / 0.5848 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3556, allocations: 5.656 kB / 0.5848 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.3556, allocations: 5.828 kB / 0.5848 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.3562, allocations: 154.8 kB / 0.585 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3573, allocations: 486.5 kB / 0.5854 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3583, allocations: 220.6 kB / 0.5856 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.3586, allocations: 80.12 kB / 0.5857 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3587, allocations: 2.469 kB / 0.5857 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3587, allocations: 35.66 kB / 0.5857 GB, free: 23.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3587, allocations: 0.625 kB / 0.5858 GB, free: 23.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001012/0.3597, allocations: 268.2 kB / 0.586 GB, free: 23.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.3597, allocations: 51.41 kB / 0.5861 GB, free: 23.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.3598, allocations: 141.9 kB / 0.5862 GB, free: 23.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3599, allocations: 25.7 kB / 0.5862 GB, free: 23.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.3599, allocations: 115.2 kB / 0.5863 GB, free: 22.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.36, allocations: 17.91 kB / 0.5863 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.36, allocations: 25.14 kB / 0.5864 GB, free: 22.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.3601, allocations: 322.4 kB / 0.5867 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.3604, allocations: 75.12 kB / 0.5867 GB, free: 22.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.3607, allocations: 91.19 kB / 0.5868 GB, free: 22.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.3613, allocations: 171.8 kB / 0.587 GB, free: 22.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3613, allocations: 1.781 kB / 0.587 GB, free: 22.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006535/0.362, allocations: 208.1 kB / 0.5872 GB, free: 22.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.362, allocations: 6.156 kB / 0.5872 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.362, allocations: 0 / 0.5872 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3621, allocations: 5.188 kB / 0.5872 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3623, allocations: 40.95 kB / 0.5872 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3623, allocations: 5.281 kB / 0.5873 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3625, allocations: 25.38 kB / 0.5873 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3626, allocations: 6.641 kB / 0.5873 GB, free: 22.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.602e-05/0.3626, allocations: 123.1 kB / 0.5874 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.3627, allocations: 11.09 kB / 0.5874 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.3634, allocations: 207.2 kB / 0.5876 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3634, allocations: 1.875 kB / 0.5876 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3634, allocations: 0.5312 kB / 0.5876 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3634, allocations: 1.5 kB / 0.5876 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3636, allocations: 226.7 kB / 0.5878 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3636, allocations: 0 / 0.5878 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.3639, allocations: 32.48 kB / 0.5879 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3639, allocations: 1.625 kB / 0.5879 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3639, allocations: 11.66 kB / 0.5879 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3639, allocations: 0 / 0.5879 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3639, allocations: 0 / 0.5879 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.3646, allocations: 289.7 kB / 0.5881 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.3646, allocations: 83.89 kB / 0.5882 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3646, allocations: 9.328 kB / 0.5882 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.3649, allocations: 30.61 kB / 0.5883 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.365, allocations: 5.656 kB / 0.5883 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.365, allocations: 7.828 kB / 0.5883 GB, free: 21.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.3651, allocations: 106 kB / 0.5884 GB, free: 21.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3651, allocations: 0 / 0.5884 GB, free: 21.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3654, allocations: 24.5 kB / 0.5884 GB, free: 21.24 MB / 446.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 (6): * Single equations (assignments): 6 * 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.0001174/0.3655, allocations: 102.3 kB / 0.5885 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.3662, allocations: 164.2 kB / 0.5887 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3662, allocations: 1.375 kB / 0.5887 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3665, allocations: 84.11 kB / 0.5887 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3668, allocations: 9.75 kB / 0.5887 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.3675, allocations: 293.7 kB / 0.589 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3676, allocations: 0.7001 MB / 0.5897 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.3677, allocations: 16.52 kB / 0.5897 GB, free: 20.08 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3677, allocations: 3.938 kB / 0.5897 GB, free: 20.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002845/0.3706, allocations: 1.591 MB / 0.5913 GB, free: 19.11 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)