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.001959/0.001959, allocations: 85.48 kB / 19.44 MB, free: 344 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.002166/0.002166, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.692/1.692, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.337/1.337, allocations: 154.8 MB / 414.4 MB, free: 460 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 2.314e-06/2.314e-06, allocations: 0 / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/3.773e-05, allocations: 3.078 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006734/0.006772, allocations: 3.957 MB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.01021, allocations: 1.349 MB / 0.525 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/0.01076, allocations: 27.81 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.0112, allocations: 130.7 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.01164, allocations: 186.3 kB / 0.5253 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009971/0.01263, allocations: 420 kB / 0.5257 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.01382, allocations: 0.9745 MB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/0.01438, allocations: 283.6 kB / 0.5269 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00073/0.01511, allocations: 0.5028 MB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.01551, allocations: 239.8 kB / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.01565, allocations: 92.97 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.01578, allocations: 92 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.01597, allocations: 175.4 kB / 0.528 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.01629, allocations: 260.5 kB / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.01763, allocations: 1.086 MB / 0.5293 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01764, allocations: 0 / 0.5293 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01764, allocations: 0.625 kB / 0.5293 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.01765, allocations: 0 / 0.5293 GB, free: 8.574 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.00244/0.02009, allocations: 1.281 MB / 0.5306 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.02014, allocations: 11.97 kB / 0.5306 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.02038, allocations: 136.9 kB / 0.5307 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.0214, allocations: 0.532 MB / 0.5312 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.02145, allocations: 41.69 kB / 0.5313 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02156, allocations: 65.92 kB / 0.5313 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.0228, allocations: 0.6983 MB / 0.532 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.02283, allocations: 192 / 0.532 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.02288, allocations: 24.31 kB / 0.532 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.02291, allocations: 21.28 kB / 0.5321 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.02386, allocations: 429 kB / 0.5325 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.02745, allocations: 2.194 MB / 0.5346 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.02837, allocations: 431.7 kB / 0.535 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.02881, allocations: 222 kB / 0.5352 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.02886, allocations: 8.5 kB / 0.5352 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/0.02944, allocations: 268.8 kB / 0.5355 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.055e-06/0.02944, allocations: 0 / 0.5355 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001335/0.03078, allocations: 0.5788 MB / 0.5361 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.03084, allocations: 59.84 kB / 0.5361 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.03161, allocations: 0.6009 MB / 0.5367 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.03166, allocations: 37.7 kB / 0.5367 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.03205, allocations: 411.6 kB / 0.5371 GB, free: 344 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.03238, allocations: 190.5 kB / 0.5373 GB, free: 152 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.03258, allocations: 124 kB / 0.5374 GB, free: 20 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003885/0.03297, allocations: 0.5821 MB / 0.538 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.03336, allocations: 193.8 kB / 0.5382 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.03385, allocations: 309.9 kB / 0.5385 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/0.0347, allocations: 487.3 kB / 0.5389 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.03471, allocations: 0 / 0.5389 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001139/0.03585, allocations: 0.6004 MB / 0.5395 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.0359, allocations: 37.69 kB / 0.5396 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.03591, allocations: 0 / 0.5396 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.03594, allocations: 5.125 kB / 0.5396 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.03643, allocations: 107.9 kB / 0.5397 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.03645, allocations: 11.88 kB / 0.5397 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.03676, allocations: 57.8 kB / 0.5397 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.03681, allocations: 20 kB / 0.5398 GB, free: 13.52 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.0003528/0.03716, allocations: 253.8 kB / 0.54 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.03727, allocations: 71.61 kB / 0.5401 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.03743, allocations: 63.23 kB / 0.5401 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.03744, allocations: 7.984 kB / 0.5401 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.03745, allocations: 3.938 kB / 0.5401 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.03746, allocations: 0 / 0.5401 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.03946, allocations: 1.188 MB / 0.5413 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03946, allocations: 0 / 0.5413 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.03992, allocations: 97.08 kB / 0.5414 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.03993, allocations: 0 / 0.5414 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.03997, allocations: 16.55 kB / 0.5414 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.03997, allocations: 0 / 0.5414 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.03997, allocations: 0.6562 kB / 0.5414 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.04138, allocations: 0.8163 MB / 0.5422 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.04157, allocations: 91.5 kB / 0.5423 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.04164, allocations: 11.94 kB / 0.5423 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.04188, allocations: 21.11 kB / 0.5423 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.04199, allocations: 36.44 kB / 0.5424 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.04203, allocations: 15.98 kB / 0.5424 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004675/0.0425, allocations: 376 kB / 0.5427 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.0425, allocations: 0 / 0.5427 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005202/0.04302, allocations: 143.6 kB / 0.5429 GB, free: 10.27 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.0001896/0.04321, allocations: 116.5 kB / 0.543 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.04446, allocations: 0.5028 MB / 0.5435 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.04447, allocations: 4 kB / 0.5435 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.04491, allocations: 233.9 kB / 0.5437 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.04573, allocations: 149.8 kB / 0.5438 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.04859, allocations: 1.262 MB / 0.5451 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.04894, allocations: 297.2 kB / 0.5454 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.0492, allocations: 51.16 kB / 0.5454 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.04933, allocations: 44.48 kB / 0.5455 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.04933, allocations: 0 / 0.5455 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of Templates: time 0.01351/0.06284, allocations: 5.808 MB / 0.5511 GB, free: 2.02 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: 6.76304502307903]