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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8362/0.8362, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.879e-05, allocations: 5.109 kB / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003876/0.003905, allocations: 1.859 MB / 482.3 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.005164, allocations: 0.727 MB / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.005237, allocations: 0 / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.005276, allocations: 17.19 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.005344, allocations: 16.55 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.005825, allocations: 182.3 kB / 483.2 MB, free: 3.809 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.005999, allocations: 128.1 kB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.006125, allocations: 38.25 kB / 483.4 MB, free: 3.645 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.006312, allocations: 88.89 kB / 483.5 MB, free: 3.559 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.006383, allocations: 31.89 kB / 483.5 MB, free: 3.527 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.006405, allocations: 12 kB / 483.5 MB, free: 3.516 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.006527, allocations: 52.58 kB / 483.6 MB, free: 3.465 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.006556, allocations: 35.89 kB / 483.6 MB, free: 3.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.006588, allocations: 36.53 kB / 483.6 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.006787, allocations: 148.1 kB / 483.8 MB, free: 3.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.006792, allocations: 0 / 483.8 MB, free: 3.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006793, allocations: 0.5625 kB / 483.8 MB, free: 3.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.006799, allocations: 0.5625 kB / 483.8 MB, free: 3.25 MB / 442.7 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.0004287/0.007228, allocations: 341 kB / 484.1 MB, free: 2.898 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.007265, allocations: 8.031 kB / 484.1 MB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.007704, allocations: 102.9 kB / 484.2 MB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.007887, allocations: 146.7 kB / 484.4 MB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.007954, allocations: 120.2 kB / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.007972, allocations: 8.375 kB / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.008203, allocations: 191.5 kB / 484.7 MB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.008211, allocations: 0 / 484.7 MB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.008226, allocations: 5.312 kB / 484.7 MB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.008232, allocations: 4 kB / 484.7 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.008289, allocations: 38.02 kB / 484.7 MB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.008751, allocations: 277.8 kB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.008997, allocations: 120.2 kB / 485.1 MB, free: 1.816 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.009028, allocations: 25.86 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.009045, allocations: 0 / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.009068, allocations: 35.59 kB / 485.2 MB, free: 1.746 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.009069, allocations: 0 / 485.2 MB, free: 1.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001694/0.009239, allocations: 85.61 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.009263, allocations: 60.27 kB / 485.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.009339, allocations: 142.6 kB / 485.4 MB, free: 1.434 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.009354, allocations: 26.45 kB / 485.5 MB, free: 1.402 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.009399, allocations: 112.2 kB / 485.6 MB, free: 1.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.009419, allocations: 17.77 kB / 485.6 MB, free: 1.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.009462, allocations: 29.69 kB / 485.6 MB, free: 1.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.009538, allocations: 318.8 kB / 485.9 MB, free: 0.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.009568, allocations: 19.98 kB / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.009609, allocations: 34.56 kB / 486 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.265e-05/0.009682, allocations: 63.86 kB / 486.1 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.009684, allocations: 1.344 kB / 486.1 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.929e-05/0.009783, allocations: 73.61 kB / 486.1 MB, free: 0.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.009797, allocations: 8 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.009802, allocations: 0.5938 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.009814, allocations: 1.438 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.009928, allocations: 31.97 kB / 486.2 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.009932, allocations: 3.938 kB / 486.2 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.009988, allocations: 16.78 kB / 486.2 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.009996, allocations: 4.594 kB / 486.2 MB, free: 0.6445 MB / 442.7 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.58e-05/0.01006, allocations: 118.8 kB / 486.3 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.01009, allocations: 11.92 kB / 486.3 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01022, allocations: 86.34 kB / 486.4 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01023, allocations: 0.5 kB / 486.4 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01023, allocations: 8.531 kB / 486.4 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01023, allocations: 2 kB / 486.4 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.01036, allocations: 105.8 kB / 486.5 MB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01036, allocations: 4 kB / 486.5 MB, free: 296 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.01044, allocations: 19.97 kB / 486.5 MB, free: 276 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01044, allocations: 4 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.01044, allocations: 0.5938 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01045, allocations: 1.75 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01045, allocations: 3.938 kB / 486.6 MB, free: 268 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.01057, allocations: 167.5 kB / 486.7 MB, free: 84 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.01058, allocations: 15.89 kB / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.01059, allocations: 0 / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.01068, allocations: 21.64 kB / 486.8 MB, free: 48 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.01071, allocations: 3.984 kB / 486.8 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01073, allocations: 7.984 kB / 486.8 MB, free: 36 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.01075, allocations: 35.17 kB / 486.8 MB, free: 0 / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01075, allocations: 0 / 486.8 MB, free: 0 / 442.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.011, allocations: 24.05 kB / 486.8 MB, free: 15.97 MB / 458.7 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.641e-05/0.01109, allocations: 72.95 kB / 486.9 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.0112, allocations: 61.59 kB / 487 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.01121, allocations: 0.6562 kB / 487 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.01125, allocations: 36.77 kB / 487 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.01142, allocations: 21.39 kB / 487 MB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.01187, allocations: 224.7 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.802e-05/0.01191, allocations: 65.41 kB / 487.3 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.01197, allocations: 11 kB / 487.3 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.01212, allocations: 88.45 kB / 487.4 MB, free: 15.36 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01212, allocations: 0 / 487.4 MB, free: 15.36 MB / 458.7 MB Notification: Performance of Templates: time 0.003431/0.01555, allocations: 1.637 MB / 489 MB, free: 13.82 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7377919936552644]