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.001128/0.001128, allocations: 104.9 kB / 16.35 MB, free: 6.285 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.001058/0.001058, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7798/0.7798, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3928, allocations: 80.9 MB / 0.5858 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002894/0.3958, allocations: 1.769 MB / 0.5875 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.3968, allocations: 0.6653 MB / 0.5881 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.3968, allocations: 1.281 kB / 0.5881 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.3969, allocations: 15.8 kB / 0.5881 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.397, allocations: 18.11 kB / 0.5882 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.3975, allocations: 175.7 kB / 0.5883 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3977, allocations: 120.9 kB / 0.5884 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3978, allocations: 45.72 kB / 0.5885 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3979, allocations: 60.94 kB / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.398, allocations: 53.28 kB / 0.5886 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.398, allocations: 10.59 kB / 0.5886 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3981, allocations: 46.38 kB / 0.5887 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.3982, allocations: 33.02 kB / 0.5887 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.3982, allocations: 49.58 kB / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3984, allocations: 146 kB / 0.5889 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3984, allocations: 0 / 0.5889 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3984, allocations: 2.312 kB / 0.5889 GB, free: 23.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3984, allocations: 0 / 0.5889 GB, free: 23.03 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.0005059/0.3989, allocations: 443.4 kB / 0.5893 GB, free: 22.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.399, allocations: 11.02 kB / 0.5893 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007552/0.3997, allocations: 110.8 kB / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.3998, allocations: 192.9 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.3999, allocations: 62.84 kB / 0.5897 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4, allocations: 10.47 kB / 0.5897 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.4004, allocations: 169.5 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4005, allocations: 0.875 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.4005, allocations: 5.531 kB / 0.5898 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4005, allocations: 2.156 kB / 0.5898 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.401, allocations: 160.8 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.402, allocations: 484.9 kB / 0.5905 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.4028, allocations: 222.8 kB / 0.5907 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.4031, allocations: 82.14 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4031, allocations: 7.984 kB / 0.5908 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4031, allocations: 31.41 kB / 0.5908 GB, free: 21.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.4031, allocations: 0 / 0.5908 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008511/0.404, allocations: 269.3 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.404, allocations: 51.41 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/0.4041, allocations: 139 kB / 0.5912 GB, free: 20.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4041, allocations: 29.7 kB / 0.5912 GB, free: 20.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.4042, allocations: 112.6 kB / 0.5914 GB, free: 20.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.4042, allocations: 16.44 kB / 0.5914 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.4043, allocations: 25.7 kB / 0.5914 GB, free: 20.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.4043, allocations: 319.9 kB / 0.5917 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.4046, allocations: 77.08 kB / 0.5918 GB, free: 20.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4048, allocations: 96.45 kB / 0.5919 GB, free: 20.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.4053, allocations: 163.1 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4053, allocations: 0 / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005514/0.4059, allocations: 200.2 kB / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4059, allocations: 9.875 kB / 0.5922 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4059, allocations: 320 / 0.5922 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4059, allocations: 6.312 kB / 0.5922 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.4062, allocations: 43.89 kB / 0.5923 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4062, allocations: 160 / 0.5923 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4064, allocations: 31.89 kB / 0.5923 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.4064, allocations: 9.891 kB / 0.5923 GB, free: 19.58 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.639e-05/0.4065, allocations: 118.7 kB / 0.5924 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.4065, allocations: 7.906 kB / 0.5924 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.4071, allocations: 209.2 kB / 0.5926 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4071, allocations: 1.375 kB / 0.5926 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4071, allocations: 0 / 0.5926 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4071, allocations: 3.984 kB / 0.5926 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4073, allocations: 235.6 kB / 0.5929 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4073, allocations: 0 / 0.5929 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.4075, allocations: 34.52 kB / 0.5929 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4075, allocations: 0 / 0.5929 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4076, allocations: 11.91 kB / 0.5929 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4076, allocations: 7.938 kB / 0.5929 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4076, allocations: 0 / 0.5929 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.4081, allocations: 278.5 kB / 0.5932 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4082, allocations: 85.02 kB / 0.5933 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.4082, allocations: 7.938 kB / 0.5933 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.4085, allocations: 33.45 kB / 0.5933 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.4085, allocations: 3.984 kB / 0.5933 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4085, allocations: 5.281 kB / 0.5933 GB, free: 18.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.4086, allocations: 109.5 kB / 0.5934 GB, free: 18.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4086, allocations: 1.281 kB / 0.5934 GB, free: 18.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000252/0.4088, allocations: 27.94 kB / 0.5934 GB, free: 18.34 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.593e-05/0.409, allocations: 95.88 kB / 0.5935 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.4095, allocations: 166.3 kB / 0.5937 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4095, allocations: 1 kB / 0.5937 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.4098, allocations: 89.75 kB / 0.5938 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4101, allocations: 16.06 kB / 0.5938 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.4106, allocations: 246.1 kB / 0.594 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.4107, allocations: 0.7007 MB / 0.5947 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.4108, allocations: 19.67 kB / 0.5947 GB, free: 16.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4108, allocations: 15.38 kB / 0.5947 GB, free: 16.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4109, allocations: 1.375 kB / 0.5947 GB, free: 16.95 MB / 446.1 MB Notification: Performance of Templates: time 0.003105/0.414, allocations: 1.464 MB / 0.5962 GB, free: 15.52 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)