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.00112/0.00112, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001151/0.001151, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 423.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3506, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003143/0.3538, allocations: 1.775 MB / 0.5832 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3549, allocations: 0.656 MB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.355, allocations: 3.281 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.355, allocations: 12.31 kB / 0.5839 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.3551, allocations: 16.58 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.3557, allocations: 173.5 kB / 0.5841 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3559, allocations: 120.9 kB / 0.5842 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3561, allocations: 50.61 kB / 0.5842 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3562, allocations: 58.08 kB / 0.5843 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.3563, allocations: 56.19 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.3564, allocations: 10.56 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3565, allocations: 49.41 kB / 0.5844 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.3566, allocations: 25.14 kB / 0.5844 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.3566, allocations: 57.3 kB / 0.5845 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3569, allocations: 151 kB / 0.5846 GB, free: 25.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3569, allocations: 2.656 kB / 0.5846 GB, free: 25.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3569, allocations: 0.625 kB / 0.5846 GB, free: 25.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3569, allocations: 1.5 kB / 0.5846 GB, free: 25.21 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.0006355/0.3576, allocations: 437.9 kB / 0.585 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3576, allocations: 9.969 kB / 0.585 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.3584, allocations: 114 kB / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.3585, allocations: 183.3 kB / 0.5853 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/0.3586, allocations: 71.27 kB / 0.5854 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3587, allocations: 6.094 kB / 0.5854 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3591, allocations: 179.3 kB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3591, allocations: 2.375 kB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3592, allocations: 1.281 kB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3592, allocations: 1.344 kB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.3597, allocations: 162.4 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.3607, allocations: 480.2 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.3617, allocations: 219.1 kB / 0.5864 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.362, allocations: 84.59 kB / 0.5865 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.362, allocations: 9.891 kB / 0.5865 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.362, allocations: 36.98 kB / 0.5865 GB, free: 23.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.362, allocations: 2.094 kB / 0.5865 GB, free: 23.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009294/0.363, allocations: 257.3 kB / 0.5868 GB, free: 23.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.363, allocations: 51.91 kB / 0.5868 GB, free: 23.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3631, allocations: 142.4 kB / 0.587 GB, free: 23.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3632, allocations: 26.67 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.3632, allocations: 109.7 kB / 0.5871 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3633, allocations: 18.97 kB / 0.5871 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3633, allocations: 23.52 kB / 0.5871 GB, free: 23.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.3634, allocations: 327.5 kB / 0.5874 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3637, allocations: 72.98 kB / 0.5875 GB, free: 22.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.364, allocations: 101.5 kB / 0.5876 GB, free: 22.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.3645, allocations: 155.6 kB / 0.5877 GB, free: 22.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3645, allocations: 0.7188 kB / 0.5877 GB, free: 22.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000547/0.365, allocations: 203.8 kB / 0.5879 GB, free: 22.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.365, allocations: 7.719 kB / 0.588 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3651, allocations: 5.438 kB / 0.588 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3651, allocations: 5.062 kB / 0.588 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3653, allocations: 33.98 kB / 0.588 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3653, allocations: 1.344 kB / 0.588 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3655, allocations: 30.52 kB / 0.588 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3655, allocations: 7.719 kB / 0.588 GB, free: 22.43 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.166e-05/0.3656, allocations: 115.7 kB / 0.5881 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.3657, allocations: 7.531 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.3663, allocations: 215.4 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3663, allocations: 0 / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3663, allocations: 1.156 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3663, allocations: 1.469 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.3666, allocations: 226.5 kB / 0.5886 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3666, allocations: 0 / 0.5886 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.3668, allocations: 40.23 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3668, allocations: 1.406 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3668, allocations: 8.969 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3668, allocations: 4.672 kB / 0.5886 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3668, allocations: 6.062 kB / 0.5886 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.3674, allocations: 282.8 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.3674, allocations: 86.25 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3675, allocations: 5.062 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3677, allocations: 37.05 kB / 0.589 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.3678, allocations: 1.5 kB / 0.589 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3678, allocations: 7.547 kB / 0.589 GB, free: 21.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.3679, allocations: 108.2 kB / 0.5891 GB, free: 21.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3679, allocations: 1.312 kB / 0.5891 GB, free: 21.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3682, allocations: 26.81 kB / 0.5892 GB, free: 21.47 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.0001149/0.3683, allocations: 95.22 kB / 0.5893 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.3689, allocations: 168.2 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3689, allocations: 1.094 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.3692, allocations: 75.55 kB / 0.5895 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3695, allocations: 12.92 kB / 0.5895 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.3701, allocations: 263.7 kB / 0.5898 GB, free: 21.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3703, allocations: 0.6998 MB / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.544e-05/0.3704, allocations: 17.67 kB / 0.5905 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3704, allocations: 15.45 kB / 0.5905 GB, free: 20.34 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3704, allocations: 1.375 kB / 0.5905 GB, free: 20.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003579/0.374, allocations: 1.473 MB / 0.5919 GB, free: 19.17 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)