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.001154/0.001154, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001393/0.001393, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9834/0.9834, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7906/0.7906, allocations: 154.9 MB / 414.8 MB, free: 428 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.774e-06/1.774e-06, allocations: 0 / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.26e-05, allocations: 6.312 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002161/0.002173, allocations: 1.809 MB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.003056, allocations: 0.7187 MB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.00311, allocations: 3.625 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.003141, allocations: 11.86 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.003195, allocations: 23.73 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.003638, allocations: 184.6 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.003775, allocations: 119.6 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003883, allocations: 42.5 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004024, allocations: 83.86 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.004083, allocations: 37.36 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.004104, allocations: 12 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.004188, allocations: 43.97 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.004215, allocations: 35.83 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.00425, allocations: 40.52 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.00443, allocations: 148.1 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004431, allocations: 3.938 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004432, allocations: 1.938 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004436, allocations: 0 / 0.5239 GB, free: 14.53 MB / 0.4948 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.0004188/0.004855, allocations: 460 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.004889, allocations: 12.03 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.005313, allocations: 108 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.005485, allocations: 161.5 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.005556, allocations: 115.4 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.868e-05/0.005574, allocations: 9.156 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.005834, allocations: 201.3 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005843, allocations: 0 / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.005861, allocations: 6.875 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.00587, allocations: 4 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.005959, allocations: 55.97 kB / 0.525 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.006802, allocations: 419.1 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.007085, allocations: 143 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.007134, allocations: 34.56 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.007151, allocations: 7.984 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.007177, allocations: 37.33 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007178, allocations: 4 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002402/0.007419, allocations: 117.6 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.007449, allocations: 59.34 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.007546, allocations: 201.8 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.007564, allocations: 25.7 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.007624, allocations: 155 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.007649, allocations: 31.77 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.007694, allocations: 40.23 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.007824, allocations: 496.1 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.007873, allocations: 27.98 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.007937, allocations: 55.86 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.008044, allocations: 75.95 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.008046, allocations: 1.219 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001551/0.008201, allocations: 105.6 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.008216, allocations: 4.625 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.008223, allocations: 0 / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.008244, allocations: 8.594 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.008373, allocations: 32.56 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.00838, allocations: 160 / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.008439, allocations: 22.88 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.00845, allocations: 3.984 kB / 0.527 GB, free: 11.12 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/0.008538, allocations: 164.5 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.008566, allocations: 11.91 kB / 0.5272 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.008756, allocations: 113.5 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.008761, allocations: 11.92 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.008765, allocations: 0 / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.008768, allocations: 0 / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.008909, allocations: 153.6 kB / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00891, allocations: 0 / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.008983, allocations: 24.34 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008984, allocations: 1.812 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.008994, allocations: 4 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.008996, allocations: 4 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.008998, allocations: 3.938 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.009163, allocations: 247.8 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.009175, allocations: 16.44 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.009193, allocations: 6.297 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.009284, allocations: 15.98 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.009316, allocations: 7.922 kB / 0.5278 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.009328, allocations: 7.984 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.00938, allocations: 150.2 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00938, allocations: 4.812 kB / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001579/0.009538, allocations: 23.94 kB / 0.5279 GB, free: 10.1 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.869e-05/0.009607, allocations: 101.3 kB / 0.528 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.00975, allocations: 75.59 kB / 0.5281 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.009751, allocations: 0 / 0.5281 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.009802, allocations: 44.8 kB / 0.5282 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.009991, allocations: 15.98 kB / 0.5282 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.01047, allocations: 236.7 kB / 0.5284 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.0105, allocations: 63.2 kB / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.364e-05/0.01056, allocations: 16.81 kB / 0.5285 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.0106, allocations: 16.48 kB / 0.5285 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.0106, allocations: 0 / 0.5285 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of Templates: time 0.003167/0.01377, allocations: 1.689 MB / 0.5301 GB, free: 7.871 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7155983983539045]