Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001628/0.001628, allocations: 92.7 kB / 19.44 MB, free: 328 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.00202/0.00202, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.654/1.654, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.312/1.312, allocations: 154.8 MB / 414.3 MB, free: 472 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 178] 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5198 GB, free: 2.355 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.623e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.352 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006092/0.006128, allocations: 3.745 MB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.009298, allocations: 1.329 MB / 0.5248 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.009852, allocations: 31.75 kB / 0.5248 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.01027, allocations: 118.8 kB / 0.5249 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.01072, allocations: 194.8 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.01199, allocations: 416.1 kB / 0.5255 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.01326, allocations: 0.9861 MB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.01383, allocations: 289.6 kB / 0.5267 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007357/0.01457, allocations: 498.9 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.01493, allocations: 243.2 kB / 0.5274 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.01507, allocations: 92 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.01521, allocations: 92 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.01539, allocations: 183.3 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.0157, allocations: 251.4 kB / 0.528 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.01701, allocations: 1.098 MB / 0.5291 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.01702, allocations: 1.062 kB / 0.5291 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01702, allocations: 0 / 0.5291 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.01704, allocations: 4 kB / 0.5291 GB, free: 8.812 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002137/0.01917, allocations: 1.063 MB / 0.5301 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.01921, allocations: 8.031 kB / 0.5301 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.01946, allocations: 140.4 kB / 0.5303 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.02053, allocations: 0.5384 MB / 0.5308 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.02059, allocations: 41.69 kB / 0.5308 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.0207, allocations: 60.38 kB / 0.5309 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.02196, allocations: 0.6595 MB / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.02198, allocations: 192 / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.02205, allocations: 32.12 kB / 0.5316 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.02206, allocations: 14.75 kB / 0.5316 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.02312, allocations: 457 kB / 0.532 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.02646, allocations: 1.71 MB / 0.5337 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.02756, allocations: 424.4 kB / 0.5341 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.02809, allocations: 226.3 kB / 0.5343 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.02814, allocations: 8.5 kB / 0.5343 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006965/0.02884, allocations: 262.2 kB / 0.5346 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.596e-06/0.02884, allocations: 0 / 0.5346 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001693/0.03054, allocations: 0.5974 MB / 0.5352 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.03063, allocations: 63.84 kB / 0.5352 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/0.03134, allocations: 437.8 kB / 0.5356 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.03139, allocations: 29.7 kB / 0.5357 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.03183, allocations: 340.9 kB / 0.536 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.03204, allocations: 174.4 kB / 0.5362 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.03224, allocations: 94.34 kB / 0.5362 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002632/0.0325, allocations: 360.3 kB / 0.5366 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.03297, allocations: 198.9 kB / 0.5368 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.0335, allocations: 278.5 kB / 0.537 GB, free: 448 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.0345, allocations: 454.8 kB / 0.5375 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.03451, allocations: 0 / 0.5375 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001406/0.03591, allocations: 0.6124 MB / 0.5381 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.03599, allocations: 34.45 kB / 0.5381 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.036, allocations: 4 kB / 0.5381 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.03604, allocations: 5.469 kB / 0.5381 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.03659, allocations: 115.8 kB / 0.5382 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.03661, allocations: 4 kB / 0.5382 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.037, allocations: 62.23 kB / 0.5383 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.03704, allocations: 16 kB / 0.5383 GB, free: 15.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0004295/0.03747, allocations: 210.3 kB / 0.5385 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.03761, allocations: 71.66 kB / 0.5386 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.0378, allocations: 67.88 kB / 0.5386 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.03781, allocations: 4 kB / 0.5386 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.03782, allocations: 3.938 kB / 0.5386 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.03783, allocations: 3.984 kB / 0.5386 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.04013, allocations: 1.001 MB / 0.5396 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.04014, allocations: 4 kB / 0.5396 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.04064, allocations: 98.09 kB / 0.5397 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.04065, allocations: 0 / 0.5397 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.04069, allocations: 15.94 kB / 0.5397 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.0407, allocations: 0 / 0.5397 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.0407, allocations: 7.984 kB / 0.5397 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.04231, allocations: 0.7698 MB / 0.5405 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.04252, allocations: 95.56 kB / 0.5406 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.04259, allocations: 11.94 kB / 0.5406 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.04287, allocations: 29.23 kB / 0.5406 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.04299, allocations: 36.42 kB / 0.5407 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.04302, allocations: 12.62 kB / 0.5407 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004004/0.04342, allocations: 295.1 kB / 0.541 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04342, allocations: 1.219 kB / 0.541 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005257/0.04394, allocations: 147.6 kB / 0.5411 GB, free: 12.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001725/0.04412, allocations: 112.1 kB / 0.5412 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.04517, allocations: 489.8 kB / 0.5417 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.04517, allocations: 1.25 kB / 0.5417 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.04563, allocations: 202.8 kB / 0.5419 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.04642, allocations: 161.4 kB / 0.542 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.04932, allocations: 1.272 MB / 0.5433 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.04966, allocations: 289.2 kB / 0.5435 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.04995, allocations: 67.06 kB / 0.5436 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.0501, allocations: 44.48 kB / 0.5436 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/0.05011, allocations: 0 / 0.5436 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of Templates: time 0.01317/0.06328, allocations: 5.796 MB / 0.5493 GB, free: 3.984 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.630732988007367]