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.001177/0.001177, allocations: 111.4 kB / 16.37 MB, free: 6 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.001371/0.001371, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7991/0.7991, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 63.91 kB / 0.5068 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3611, allocations: 80.91 MB / 0.5858 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.0026/0.3638, allocations: 1.776 MB / 0.5875 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.3647, allocations: 0.655 MB / 0.5881 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.3648, allocations: 1.938 kB / 0.5881 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.3649, allocations: 9.125 kB / 0.5882 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.3649, allocations: 18.27 kB / 0.5882 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.3654, allocations: 170.1 kB / 0.5883 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3656, allocations: 131.6 kB / 0.5885 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3658, allocations: 46.73 kB / 0.5885 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3659, allocations: 57.92 kB / 0.5886 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.366, allocations: 52.91 kB / 0.5886 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.366, allocations: 10.66 kB / 0.5886 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3661, allocations: 43.47 kB / 0.5887 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.3662, allocations: 30.62 kB / 0.5887 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.3662, allocations: 53.75 kB / 0.5887 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3664, allocations: 155.8 kB / 0.5889 GB, free: 23.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3664, allocations: 3.938 kB / 0.5889 GB, free: 23.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3664, allocations: 0 / 0.5889 GB, free: 23.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3664, allocations: 1.156 kB / 0.5889 GB, free: 23.43 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.0004792/0.3669, allocations: 438.3 kB / 0.5893 GB, free: 22.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3669, allocations: 9.109 kB / 0.5893 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007258/0.3677, allocations: 116.2 kB / 0.5894 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.3678, allocations: 180.2 kB / 0.5896 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.3679, allocations: 59.95 kB / 0.5897 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3679, allocations: 12.38 kB / 0.5897 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.3683, allocations: 175.2 kB / 0.5898 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3683, allocations: 0.6562 kB / 0.5898 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3683, allocations: 0 / 0.5898 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3684, allocations: 4.5 kB / 0.5898 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.3689, allocations: 159.1 kB / 0.59 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.3698, allocations: 499.9 kB / 0.5905 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.3706, allocations: 214 kB / 0.5907 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.3709, allocations: 82.41 kB / 0.5908 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3709, allocations: 3.984 kB / 0.5908 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3709, allocations: 43.44 kB / 0.5908 GB, free: 21.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3709, allocations: 1.062 kB / 0.5908 GB, free: 21.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00083/0.3718, allocations: 256.7 kB / 0.5911 GB, free: 21.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.3718, allocations: 55.39 kB / 0.5911 GB, free: 21.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.3719, allocations: 143.2 kB / 0.5912 GB, free: 20.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3719, allocations: 29.7 kB / 0.5913 GB, free: 20.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.3719, allocations: 108.2 kB / 0.5914 GB, free: 20.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.372, allocations: 23.7 kB / 0.5914 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.372, allocations: 21.7 kB / 0.5914 GB, free: 20.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.3721, allocations: 324.4 kB / 0.5917 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.3723, allocations: 68.17 kB / 0.5918 GB, free: 20.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3726, allocations: 100.6 kB / 0.5919 GB, free: 20.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.373, allocations: 166.1 kB / 0.592 GB, free: 20.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3731, allocations: 0 / 0.592 GB, free: 20.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005373/0.3736, allocations: 204.8 kB / 0.5922 GB, free: 19.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3736, allocations: 4 kB / 0.5922 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3736, allocations: 0 / 0.5922 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3737, allocations: 9.219 kB / 0.5923 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3739, allocations: 35.89 kB / 0.5923 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3739, allocations: 5.625 kB / 0.5923 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3741, allocations: 27.89 kB / 0.5923 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3741, allocations: 1.562 kB / 0.5923 GB, free: 19.75 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 6.663e-05/0.3742, allocations: 122.7 kB / 0.5924 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.3742, allocations: 7.906 kB / 0.5924 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.3748, allocations: 214.5 kB / 0.5926 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3748, allocations: 0 / 0.5926 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3748, allocations: 3.938 kB / 0.5927 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3748, allocations: 0 / 0.5927 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.375, allocations: 231.1 kB / 0.5929 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.375, allocations: 4 kB / 0.5929 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.3752, allocations: 29.39 kB / 0.5929 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3752, allocations: 4 kB / 0.5929 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3753, allocations: 11.92 kB / 0.5929 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3753, allocations: 1.281 kB / 0.5929 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3753, allocations: 0 / 0.5929 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.3758, allocations: 287.1 kB / 0.5932 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.3758, allocations: 85.02 kB / 0.5933 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3758, allocations: 3.938 kB / 0.5933 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3761, allocations: 33.05 kB / 0.5933 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3762, allocations: 12.48 kB / 0.5933 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3762, allocations: 0.7812 kB / 0.5933 GB, free: 18.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.3762, allocations: 107.2 kB / 0.5934 GB, free: 18.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3762, allocations: 0.5312 kB / 0.5934 GB, free: 18.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3765, allocations: 25.22 kB / 0.5935 GB, free: 18.5 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 9.543e-05/0.3766, allocations: 99.25 kB / 0.5935 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.3771, allocations: 163 kB / 0.5937 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3772, allocations: 4 kB / 0.5937 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.3774, allocations: 81.31 kB / 0.5938 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3777, allocations: 10.75 kB / 0.5938 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.3782, allocations: 253.8 kB / 0.594 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.3783, allocations: 0.6974 MB / 0.5947 GB, free: 17.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.3784, allocations: 23.97 kB / 0.5947 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.3785, allocations: 15.38 kB / 0.5948 GB, free: 17.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3785, allocations: 0 / 0.5948 GB, free: 17.12 MB / 446.1 MB Notification: Performance of Templates: time 0.003234/0.3817, allocations: 1.464 MB / 0.5962 GB, free: 15.68 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)