Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001439/0.001438, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.00141/0.00141, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8524/0.8524, allocations: 135.2 MB / 425.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.89 kB / 0.5055 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 80.93 MB / 0.5846 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002618/0.3554, allocations: 1.825 MB / 0.5863 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.3563, allocations: 0.6571 MB / 0.587 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.3564, allocations: 1.062 kB / 0.587 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.3564, allocations: 3.938 kB / 0.587 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.3565, allocations: 16.23 kB / 0.587 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.357, allocations: 150.2 kB / 0.5872 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3572, allocations: 122.3 kB / 0.5873 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3573, allocations: 48.53 kB / 0.5873 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3574, allocations: 57.02 kB / 0.5874 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.3575, allocations: 52.59 kB / 0.5874 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3575, allocations: 10.72 kB / 0.5874 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3576, allocations: 51.48 kB / 0.5875 GB, free: 23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3577, allocations: 29.16 kB / 0.5875 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.3577, allocations: 58.17 kB / 0.5876 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3579, allocations: 89.17 kB / 0.5876 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3579, allocations: 4.469 kB / 0.5877 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3579, allocations: 0 / 0.5877 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3579, allocations: 1.562 kB / 0.5877 GB, free: 22.88 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.0005154/0.3584, allocations: 439.8 kB / 0.5881 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3585, allocations: 10.73 kB / 0.5881 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.3593, allocations: 115.4 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3594, allocations: 183.1 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/0.3595, allocations: 63.03 kB / 0.5884 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3595, allocations: 4.938 kB / 0.5884 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.36, allocations: 185 kB / 0.5886 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.36, allocations: 0 / 0.5886 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.36, allocations: 1.125 kB / 0.5886 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.36, allocations: 1.25 kB / 0.5886 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.3606, allocations: 159.6 kB / 0.5888 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.3616, allocations: 0.4898 MB / 0.5892 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.3625, allocations: 224.6 kB / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.3628, allocations: 80.38 kB / 0.5895 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3628, allocations: 6.109 kB / 0.5895 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3628, allocations: 32.94 kB / 0.5896 GB, free: 21.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.3629, allocations: 0 / 0.5896 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009416/0.3638, allocations: 266.8 kB / 0.5898 GB, free: 21.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3638, allocations: 52.41 kB / 0.5899 GB, free: 21.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.3639, allocations: 141.7 kB / 0.59 GB, free: 20.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.364, allocations: 30.48 kB / 0.59 GB, free: 20.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.364, allocations: 108.7 kB / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.364, allocations: 21.14 kB / 0.5902 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.3641, allocations: 24.52 kB / 0.5902 GB, free: 20.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.3641, allocations: 317.1 kB / 0.5905 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3644, allocations: 79.31 kB / 0.5906 GB, free: 20.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.3647, allocations: 92.78 kB / 0.5907 GB, free: 20.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.3652, allocations: 165.4 kB / 0.5908 GB, free: 20.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3652, allocations: 0 / 0.5908 GB, free: 20.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005656/0.3658, allocations: 205.9 kB / 0.591 GB, free: 19.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3658, allocations: 4 kB / 0.591 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3658, allocations: 4 kB / 0.591 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3658, allocations: 7.922 kB / 0.591 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3661, allocations: 36.42 kB / 0.5911 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3661, allocations: 4.625 kB / 0.5911 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3663, allocations: 29.94 kB / 0.5911 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3663, allocations: 8.094 kB / 0.5911 GB, free: 19.82 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.506e-05/0.3664, allocations: 117.8 kB / 0.5912 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3664, allocations: 9 kB / 0.5912 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.367, allocations: 205.7 kB / 0.5914 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3671, allocations: 0 / 0.5914 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3671, allocations: 0 / 0.5914 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3671, allocations: 8.438 kB / 0.5914 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3673, allocations: 235.3 kB / 0.5916 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3673, allocations: 0 / 0.5916 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3675, allocations: 32.92 kB / 0.5917 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3675, allocations: 0 / 0.5917 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3675, allocations: 4.562 kB / 0.5917 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3675, allocations: 0 / 0.5917 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3675, allocations: 4.734 kB / 0.5917 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.3681, allocations: 282 kB / 0.592 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3681, allocations: 85.98 kB / 0.592 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3682, allocations: 3.938 kB / 0.592 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3685, allocations: 38.2 kB / 0.5921 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3685, allocations: 7.984 kB / 0.5921 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3685, allocations: 7.984 kB / 0.5921 GB, free: 18.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.3686, allocations: 106.8 kB / 0.5922 GB, free: 18.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3686, allocations: 0 / 0.5922 GB, free: 18.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3688, allocations: 27.94 kB / 0.5922 GB, free: 18.59 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.000104/0.3689, allocations: 100.9 kB / 0.5923 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005748/0.3695, allocations: 170 kB / 0.5925 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3695, allocations: 2.094 kB / 0.5925 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.3698, allocations: 79.91 kB / 0.5926 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3701, allocations: 8.719 kB / 0.5926 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.3707, allocations: 328.8 kB / 0.5929 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3708, allocations: 0.6978 MB / 0.5936 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.3709, allocations: 23.42 kB / 0.5936 GB, free: 17.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3709, allocations: 5.938 kB / 0.5936 GB, free: 17.13 MB / 446.1 MB Notification: Performance of Templates: time 0.002664/0.3736, allocations: 1.588 MB / 0.5951 GB, free: 15.57 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)