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.00112/0.00112, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001349/0.001349, allocations: 169 kB / 23.27 MB, free: 1.227 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.9948/0.9948, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.8262/0.8262, allocations: 154.9 MB / 415.1 MB, free: 256 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.753e-06/1.753e-06, allocations: 0.9844 kB / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.184e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002374/0.002396, allocations: 1.811 MB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.003337, allocations: 0.7115 MB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.003413, allocations: 0 / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.003448, allocations: 11.81 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.003512, allocations: 21.36 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.003975, allocations: 182 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.004129, allocations: 124.5 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004253, allocations: 41.53 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.004419, allocations: 87.8 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.004484, allocations: 32.86 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.004508, allocations: 12 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.004602, allocations: 53.69 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.004625, allocations: 27.92 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.004656, allocations: 43.83 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.004826, allocations: 143.5 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004827, allocations: 0 / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004828, allocations: 1 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.004832, allocations: 0 / 0.5243 GB, free: 14.22 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.0004025/0.005234, allocations: 465.2 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.005271, allocations: 11.97 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/0.005676, allocations: 107 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.005841, allocations: 166.7 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.005905, allocations: 115.4 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.005924, allocations: 12.38 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.006167, allocations: 187.9 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.006175, allocations: 0 / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.006194, allocations: 4 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006202, allocations: 4.719 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.039e-05/0.006262, allocations: 39.97 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.006757, allocations: 396.2 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.007001, allocations: 142.9 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.007033, allocations: 31.67 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.007055, allocations: 4.125 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.007075, allocations: 37.39 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.007077, allocations: 3.984 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001978/0.007275, allocations: 101.6 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.007299, allocations: 59.34 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.007387, allocations: 197.6 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.007403, allocations: 25.7 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.007458, allocations: 163.5 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.007479, allocations: 25.59 kB / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.007519, allocations: 31.36 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.007632, allocations: 0.4962 MB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.007663, allocations: 12 kB / 0.5271 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.007709, allocations: 51.03 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/0.007786, allocations: 72.62 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007788, allocations: 0 / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.007909, allocations: 96.31 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.007923, allocations: 9.719 kB / 0.5273 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.00793, allocations: 3.938 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007943, allocations: 0 / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.008045, allocations: 31.91 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.008049, allocations: 6.016 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.008105, allocations: 11.98 kB / 0.5273 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.008118, allocations: 4 kB / 0.5273 GB, free: 10.91 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 7.947e-05/0.008197, allocations: 168.4 kB / 0.5275 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.008225, allocations: 16.84 kB / 0.5275 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.008375, allocations: 103.5 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.008378, allocations: 4.656 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.008381, allocations: 3.938 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008385, allocations: 3.25 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.008527, allocations: 130.2 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008528, allocations: 0 / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.008599, allocations: 23.97 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.0086, allocations: 0 / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008608, allocations: 0 / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008609, allocations: 0 / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00861, allocations: 4 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.008771, allocations: 246.8 kB / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.008782, allocations: 11.91 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.008793, allocations: 0 / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.008884, allocations: 15.98 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.008915, allocations: 11.98 kB / 0.5281 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.008926, allocations: 3.984 kB / 0.5281 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.008977, allocations: 151.6 kB / 0.5282 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008977, allocations: 2.906 kB / 0.5282 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00017/0.009147, allocations: 27.94 kB / 0.5282 GB, free: 9.949 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 8.986e-05/0.009237, allocations: 91.25 kB / 0.5283 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.009357, allocations: 63.59 kB / 0.5284 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009358, allocations: 0 / 0.5284 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.0094, allocations: 47.58 kB / 0.5284 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.009865, allocations: 19.97 kB / 0.5284 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.01032, allocations: 221.6 kB / 0.5287 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.01036, allocations: 71.14 kB / 0.5287 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.569e-05/0.01041, allocations: 10.47 kB / 0.5287 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.01055, allocations: 119 kB / 0.5288 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01055, allocations: 0 / 0.5288 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of Templates: time 0.003621/0.01417, allocations: 1.704 MB / 0.5305 GB, free: 7.645 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.7870714920572937]