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.0009914/0.0009914, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001161/0.001161, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8182/0.8182, allocations: 154.9 MB / 415.9 MB, free: 240 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.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.054e-06/2.054e-06, allocations: 0 / 0.5218 GB, free: 500 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.632e-05/3.837e-05, allocations: 2.312 kB / 0.5218 GB, free: 496 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004785/0.004823, allocations: 3.908 MB / 0.5257 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.0071, allocations: 1.346 MB / 0.527 GB, free: 11.24 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.007564, allocations: 29.75 kB / 0.527 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.007873, allocations: 130.6 kB / 0.5271 GB, free: 11.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.008195, allocations: 193.7 kB / 0.5273 GB, free: 10.89 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.008955, allocations: 411.3 kB / 0.5277 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009112/0.009866, allocations: 0.9756 MB / 0.5287 GB, free: 9.516 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.01029, allocations: 294.6 kB / 0.5289 GB, free: 9.207 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.01084, allocations: 0.4989 MB / 0.5294 GB, free: 8.707 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.0111, allocations: 235.7 kB / 0.5296 GB, free: 8.477 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.01119, allocations: 89.03 kB / 0.5297 GB, free: 8.391 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.01127, allocations: 91.94 kB / 0.5298 GB, free: 8.301 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.01152, allocations: 180.6 kB / 0.53 GB, free: 8.125 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.01171, allocations: 243.4 kB / 0.5302 GB, free: 7.887 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.01225, allocations: 0.572 MB / 0.5308 GB, free: 7.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01226, allocations: 0 / 0.5308 GB, free: 7.312 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01226, allocations: 1.781 kB / 0.5308 GB, free: 7.312 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.01227, allocations: 0 / 0.5308 GB, free: 7.312 MB / 458.7 MB 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.001242/0.01351, allocations: 1.158 MB / 0.5319 GB, free: 6.105 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01354, allocations: 8.781 kB / 0.5319 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.01369, allocations: 136.4 kB / 0.5321 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.01425, allocations: 0.5411 MB / 0.5326 GB, free: 5.398 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.01428, allocations: 41.69 kB / 0.5326 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.01435, allocations: 64.33 kB / 0.5327 GB, free: 5.297 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.01485, allocations: 494 kB / 0.5332 GB, free: 4.773 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.01487, allocations: 8.125 kB / 0.5332 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.01491, allocations: 28.36 kB / 0.5332 GB, free: 4.738 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.01492, allocations: 19.94 kB / 0.5332 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.01516, allocations: 182.2 kB / 0.5334 GB, free: 4.539 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.01673, allocations: 1.726 MB / 0.5351 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.01705, allocations: 243.3 kB / 0.5353 GB, free: 2.516 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.01717, allocations: 110.6 kB / 0.5354 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.01719, allocations: 8.5 kB / 0.5354 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.01739, allocations: 163.9 kB / 0.5356 GB, free: 2.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.01739, allocations: 5.281 kB / 0.5356 GB, free: 2.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004317/0.01782, allocations: 344.6 kB / 0.5359 GB, free: 1.883 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.01785, allocations: 56.56 kB / 0.536 GB, free: 1.816 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.01812, allocations: 447 kB / 0.5364 GB, free: 1.363 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.01815, allocations: 38.55 kB / 0.5364 GB, free: 1.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.01833, allocations: 379.5 kB / 0.5368 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.01842, allocations: 179 kB / 0.537 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.01861, allocations: 97.77 kB / 0.537 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01875, allocations: 0.539 MB / 0.5376 GB, free: 116 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.01885, allocations: 82.95 kB / 0.5377 GB, free: 28 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.019, allocations: 197.8 kB / 0.5378 GB, free: 15.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01924, allocations: 277.6 kB / 0.5381 GB, free: 15.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01924, allocations: 0 / 0.5381 GB, free: 15.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003816/0.01962, allocations: 417.3 kB / 0.5385 GB, free: 15.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.01965, allocations: 33.69 kB / 0.5385 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01966, allocations: 4.906 kB / 0.5385 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.01967, allocations: 4 kB / 0.5385 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.01994, allocations: 114.4 kB / 0.5387 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01994, allocations: 4 kB / 0.5387 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.02008, allocations: 55.59 kB / 0.5387 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.0201, allocations: 15.98 kB / 0.5387 GB, free: 14.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2) * 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.0001366/0.02024, allocations: 189.4 kB / 0.5389 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.0203, allocations: 75.5 kB / 0.539 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.02037, allocations: 65.44 kB / 0.539 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.02037, allocations: 8 kB / 0.5391 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.02038, allocations: 0 / 0.5391 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.02038, allocations: 3.938 kB / 0.5391 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.02113, allocations: 0.7694 MB / 0.5398 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02114, allocations: 0 / 0.5398 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.02137, allocations: 91.83 kB / 0.5399 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.02138, allocations: 3.156 kB / 0.5399 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.0214, allocations: 15.94 kB / 0.5399 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.0214, allocations: 4 kB / 0.5399 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.0214, allocations: 3.938 kB / 0.5399 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.02187, allocations: 0.5097 MB / 0.5404 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.02197, allocations: 99.45 kB / 0.5405 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.02201, allocations: 11.98 kB / 0.5405 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.02213, allocations: 17.12 kB / 0.5405 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.02219, allocations: 40.36 kB / 0.5406 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.02221, allocations: 9.469 kB / 0.5406 GB, free: 12.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.02235, allocations: 282.9 kB / 0.5409 GB, free: 12.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02235, allocations: 0 / 0.5409 GB, free: 12.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.02263, allocations: 147.6 kB / 0.541 GB, free: 12.45 MB / 474.7 MB 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.00011/0.02274, allocations: 108.7 kB / 0.5411 GB, free: 12.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.02305, allocations: 318.8 kB / 0.5414 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02306, allocations: 0 / 0.5414 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.02318, allocations: 127.5 kB / 0.5415 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.02364, allocations: 167.6 kB / 0.5417 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.0252, allocations: 1.156 MB / 0.5428 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.394e-05/0.02529, allocations: 133.8 kB / 0.5429 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.02545, allocations: 68.5 kB / 0.543 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.02568, allocations: 190.1 kB / 0.5432 GB, free: 10.21 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02568, allocations: 0.625 kB / 0.5432 GB, free: 10.21 MB / 474.7 MB Notification: Performance of Templates: time 0.009222/0.0349, allocations: 6.429 MB / 0.5495 GB, free: 3.992 MB / 474.7 MB " [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: 3.977719984948635]