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.001524/0.001524, 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.002291/0.002291, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9946/0.9946, 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.8002/0.8002, allocations: 154.8 MB / 414.7 MB, free: 0.5078 MB / 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.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 2.154e-06/2.154e-06, allocations: 0 / 0.5205 GB, free: 2.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.47e-05/4.686e-05, allocations: 4.281 kB / 0.5205 GB, free: 2.016 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006261/0.006307, allocations: 4.003 MB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.009808, allocations: 1.346 MB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000884/0.01069, allocations: 31.75 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.01118, allocations: 126.8 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.01177, allocations: 190.2 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.01301, allocations: 416.6 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.01444, allocations: 0.9785 MB / 0.5274 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.01512, allocations: 282.7 kB / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009193/0.01604, allocations: 0.5057 MB / 0.5282 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.01654, allocations: 235.2 kB / 0.5284 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.01671, allocations: 92 kB / 0.5285 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.01685, allocations: 95.94 kB / 0.5286 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.01701, allocations: 179.4 kB / 0.5288 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.01741, allocations: 251.3 kB / 0.529 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.01838, allocations: 0.5837 MB / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.01839, allocations: 1.062 kB / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.01839, allocations: 0 / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.01842, allocations: 0 / 0.5296 GB, free: 8.719 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.002149/0.02056, allocations: 1.154 MB / 0.5307 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.02063, allocations: 8.031 kB / 0.5307 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.0209, allocations: 144.3 kB / 0.5308 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.02191, allocations: 0.5364 MB / 0.5314 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.02196, allocations: 49.67 kB / 0.5314 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.02209, allocations: 60.38 kB / 0.5315 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.02311, allocations: 0.516 MB / 0.532 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.02313, allocations: 192 / 0.532 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.02319, allocations: 35.11 kB / 0.532 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.02321, allocations: 15.94 kB / 0.532 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.02381, allocations: 223.6 kB / 0.5322 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.02663, allocations: 1.802 MB / 0.534 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.02725, allocations: 276.6 kB / 0.5343 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.02752, allocations: 129.1 kB / 0.5344 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.02757, allocations: 11.94 kB / 0.5344 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.02798, allocations: 179.9 kB / 0.5346 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 4.829e-06/0.02798, allocations: 0 / 0.5346 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.000917/0.0289, allocations: 388.6 kB / 0.5349 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.02896, allocations: 63.84 kB / 0.535 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.02948, allocations: 447.3 kB / 0.5354 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.02952, allocations: 33.7 kB / 0.5355 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.02982, allocations: 382.4 kB / 0.5358 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.02997, allocations: 170.5 kB / 0.536 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.03014, allocations: 99.98 kB / 0.5361 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.03038, allocations: 0.5313 MB / 0.5366 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.03063, allocations: 103 kB / 0.5367 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.03092, allocations: 213.8 kB / 0.5369 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.03144, allocations: 304.9 kB / 0.5372 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.03144, allocations: 0 / 0.5372 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007654/0.03221, allocations: 446.9 kB / 0.5376 GB, free: 128 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.03227, allocations: 40.03 kB / 0.5377 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.03228, allocations: 0 / 0.5377 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.03231, allocations: 4 kB / 0.5377 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.03279, allocations: 117 kB / 0.5378 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.0328, allocations: 15.86 kB / 0.5378 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.03307, allocations: 47.67 kB / 0.5378 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.03311, allocations: 26.11 kB / 0.5379 GB, free: 15.88 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.0002115/0.03332, allocations: 185 kB / 0.538 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.03342, allocations: 75.62 kB / 0.5381 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.03355, allocations: 66 kB / 0.5382 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.03355, allocations: 4 kB / 0.5382 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.03356, allocations: 4.812 kB / 0.5382 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.03357, allocations: 0 / 0.5382 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.03503, allocations: 0.8709 MB / 0.539 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.03503, allocations: 1.5 kB / 0.539 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.03541, allocations: 87.89 kB / 0.5391 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.03542, allocations: 4 kB / 0.5391 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.03547, allocations: 17.06 kB / 0.5391 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.03547, allocations: 0 / 0.5391 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.03548, allocations: 3.984 kB / 0.5391 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/0.03635, allocations: 0.5574 MB / 0.5397 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.03652, allocations: 96.11 kB / 0.5398 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.03658, allocations: 15.94 kB / 0.5398 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.03678, allocations: 20.73 kB / 0.5398 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.03689, allocations: 33.91 kB / 0.5398 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.03692, allocations: 15.98 kB / 0.5399 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003065/0.03723, allocations: 291 kB / 0.5401 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.03723, allocations: 0 / 0.5401 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005377/0.03776, allocations: 145.8 kB / 0.5403 GB, free: 13.35 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.0001642/0.03793, allocations: 105.8 kB / 0.5404 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006232/0.03855, allocations: 357.3 kB / 0.5407 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03855, allocations: 1.719 kB / 0.5407 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.0388, allocations: 135.5 kB / 0.5408 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.03953, allocations: 151.3 kB / 0.541 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.04189, allocations: 1.175 MB / 0.5421 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.04198, allocations: 133.9 kB / 0.5423 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.04221, allocations: 56.55 kB / 0.5423 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.04231, allocations: 40.5 kB / 0.5424 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.964e-06/0.04231, allocations: 4.781 kB / 0.5424 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.008289/0.0506, allocations: 5.822 MB / 0.548 GB, free: 5.582 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.295435638632625]