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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008202/0.008201, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.3 MB / 148.1 MB, free: 264 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 403.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 100.2 kB / 485.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.000343, allocations: 8 kB / 0.5641 GB, free: 2.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4359, allocations: 81.59 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.584, allocations: 112.9 MB / 0.754 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5843, allocations: 87.94 kB / 0.7541 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5997, allocations: 5.115 MB / 0.7591 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5998, allocations: 0 / 0.7591 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.5998, allocations: 4 kB / 0.7591 GB, free: 1.809 MB / 0.5261 GB 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.0005919/0.6004, allocations: 430.8 kB / 0.7595 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6004, allocations: 8.031 kB / 0.7595 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/0.6011, allocations: 119.6 kB / 0.7596 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6013, allocations: 181.4 kB / 0.7598 GB, free: 1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.6014, allocations: 67.31 kB / 0.7598 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.6014, allocations: 4 kB / 0.7598 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.6019, allocations: 195.5 kB / 0.76 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.6019, allocations: 4 kB / 0.76 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.6019, allocations: 0 / 0.76 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.6019, allocations: 7.953 kB / 0.76 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.6025, allocations: 191.8 kB / 0.7602 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.6036, allocations: 0.4979 MB / 0.7607 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.6046, allocations: 274.2 kB / 0.761 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.6047, allocations: 15.97 kB / 0.761 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.6047, allocations: 38.5 kB / 0.761 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.6047, allocations: 3.984 kB / 0.761 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0009543/0.6057, allocations: 309.7 kB / 0.7613 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.6057, allocations: 51.41 kB / 0.7614 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.6058, allocations: 124.9 kB / 0.7615 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.6059, allocations: 33.7 kB / 0.7615 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.6059, allocations: 112.1 kB / 0.7616 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.606, allocations: 19.75 kB / 0.7616 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.606, allocations: 0 / 0.7616 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6061, allocations: 318.8 kB / 0.7619 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.6064, allocations: 91.92 kB / 0.762 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.6067, allocations: 114.4 kB / 0.7621 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.607, allocations: 95.98 kB / 0.7622 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.607, allocations: 0 / 0.7622 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006347/0.6076, allocations: 237.4 kB / 0.7625 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6077, allocations: 8 kB / 0.7625 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6077, allocations: 0 / 0.7625 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6077, allocations: 0 / 0.7625 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.608, allocations: 47.95 kB / 0.7625 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.608, allocations: 0 / 0.7625 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.6082, allocations: 39.86 kB / 0.7626 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.6082, allocations: 7.953 kB / 0.7626 GB, free: 13.99 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/0.6083, allocations: 120.4 kB / 0.7627 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.6084, allocations: 11.91 kB / 0.7627 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.609, allocations: 234.2 kB / 0.7629 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6091, allocations: 4 kB / 0.7629 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6091, allocations: 4 kB / 0.7629 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6091, allocations: 3.984 kB / 0.7629 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.6093, allocations: 230.4 kB / 0.7631 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6093, allocations: 0 / 0.7631 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.6096, allocations: 39.95 kB / 0.7632 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6096, allocations: 0 / 0.7632 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6096, allocations: 3.984 kB / 0.7632 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6096, allocations: 7.938 kB / 0.7632 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6096, allocations: 0 / 0.7632 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.6103, allocations: 323.2 kB / 0.7635 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.6103, allocations: 92.95 kB / 0.7636 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.6103, allocations: 192 / 0.7636 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.6106, allocations: 47.95 kB / 0.7636 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.6107, allocations: 7.984 kB / 0.7636 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6107, allocations: 7.938 kB / 0.7636 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.6108, allocations: 107.2 kB / 0.7638 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6108, allocations: 0 / 0.7638 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002513/0.6111, allocations: 31.86 kB / 0.7638 GB, free: 12.64 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001227/0.6112, allocations: 95.25 kB / 0.7639 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.6118, allocations: 203.8 kB / 0.7641 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6118, allocations: 0 / 0.7641 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.6122, allocations: 108 kB / 0.7642 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.6124, allocations: 0 / 0.7642 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.613, allocations: 297.4 kB / 0.7645 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.6133, allocations: 0.7043 MB / 0.7651 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.6134, allocations: 12.19 kB / 0.7652 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.6135, allocations: 19.42 kB / 0.7652 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6135, allocations: 0 / 0.7652 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of Templates: time 0.003322/0.6168, allocations: 1.308 MB / 0.7664 GB, free: 9.852 MB / 0.5417 GB 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)