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.001039/0.001039, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002522, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001022/0.001022, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002177, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08878/1.108, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7538/0.7538, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2848/1.039, allocations: 49.12 MB / 448.4 MB, free: 6.055 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.703e-06/1.703e-06, allocations: 0 / 449.7 MB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.406e-06/1.011e-05, allocations: 2.312 kB / 449.7 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003623/0.003634, allocations: 3.984 MB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.005879, allocations: 1.412 MB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.006214, allocations: 33.81 kB / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.006443, allocations: 134.6 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.006728, allocations: 193 kB / 455.4 MB, free: 15.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.007291, allocations: 416 kB / 455.8 MB, free: 14.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007833/0.008074, allocations: 0.9588 MB / 456.8 MB, free: 13.74 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.008427, allocations: 306.5 kB / 457.1 MB, free: 13.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.008981, allocations: 0.5548 MB / 457.6 MB, free: 12.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.009205, allocations: 235.8 kB / 457.9 MB, free: 12.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.009283, allocations: 89.5 kB / 457.9 MB, free: 12.54 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.00935, allocations: 88 kB / 458 MB, free: 12.46 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.009431, allocations: 135.5 kB / 458.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.009585, allocations: 211.5 kB / 458.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.01003, allocations: 0.5235 MB / 458.9 MB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.01004, allocations: 0 / 458.9 MB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.01004, allocations: 0 / 458.9 MB, free: 11.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.01006, allocations: 3.938 kB / 458.9 MB, free: 11.59 MB / 442.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.001164/0.01122, allocations: 1.118 MB / 460 MB, free: 10.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01125, allocations: 8.938 kB / 460 MB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.01136, allocations: 100.8 kB / 460.1 MB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.01184, allocations: 416.3 kB / 460.5 MB, free: 9.906 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.01186, allocations: 45.69 kB / 460.6 MB, free: 9.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.01192, allocations: 60.88 kB / 460.6 MB, free: 9.805 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.01236, allocations: 491.3 kB / 461.1 MB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.01238, allocations: 192 / 461.1 MB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.01241, allocations: 32.36 kB / 461.1 MB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.01242, allocations: 17 kB / 461.2 MB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.01262, allocations: 160 kB / 461.3 MB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.01397, allocations: 1.291 MB / 462.6 MB, free: 7.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.01423, allocations: 221 kB / 462.8 MB, free: 7.543 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.01433, allocations: 98.3 kB / 462.9 MB, free: 7.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.01436, allocations: 9.906 kB / 462.9 MB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.01454, allocations: 166.8 kB / 463.1 MB, free: 7.266 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 2.265e-06/0.01454, allocations: 0.8438 kB / 463.1 MB, free: 7.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003019/0.01484, allocations: 258 kB / 463.3 MB, free: 7.012 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.01488, allocations: 64.55 kB / 463.4 MB, free: 6.938 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01509, allocations: 380.1 kB / 463.8 MB, free: 6.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.01512, allocations: 41.69 kB / 463.8 MB, free: 6.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01523, allocations: 274.1 kB / 464.1 MB, free: 6.238 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.01531, allocations: 175.7 kB / 464.3 MB, free: 6.066 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.0154, allocations: 94.3 kB / 464.3 MB, free: 5.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.0155, allocations: 374.6 kB / 464.7 MB, free: 5.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.01558, allocations: 75.61 kB / 464.8 MB, free: 5.512 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01569, allocations: 172.9 kB / 465 MB, free: 5.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.0159, allocations: 254.3 kB / 465.2 MB, free: 5.031 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01591, allocations: 0 / 465.2 MB, free: 5.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000276/0.01618, allocations: 324.2 kB / 465.5 MB, free: 4.699 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.01622, allocations: 33.69 kB / 465.6 MB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01622, allocations: 9.906 kB / 465.6 MB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.01623, allocations: 4 kB / 465.6 MB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.01655, allocations: 151.4 kB / 465.7 MB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01656, allocations: 4 kB / 465.7 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01668, allocations: 58 kB / 465.8 MB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.0167, allocations: 12 kB / 465.8 MB, free: 4.434 MB / 442.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,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0001123/0.01681, allocations: 146.6 kB / 465.9 MB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.01686, allocations: 43.95 kB / 466 MB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.01692, allocations: 67.06 kB / 466 MB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01693, allocations: 4 kB / 466 MB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01693, allocations: 7.938 kB / 466 MB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.01694, allocations: 4.984 kB / 466.1 MB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.0175, allocations: 0.5758 MB / 466.6 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.0175, allocations: 0.9062 kB / 466.6 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.01776, allocations: 120.5 kB / 466.7 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.01784, allocations: 56.3 kB / 466.8 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.01785, allocations: 5.938 kB / 466.8 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01787, allocations: 11.98 kB / 466.8 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01787, allocations: 4 kB / 466.8 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01787, allocations: 0 / 466.8 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.0182, allocations: 407.8 kB / 467.2 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.01824, allocations: 8 kB / 467.2 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01834, allocations: 24.58 kB / 467.3 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.01839, allocations: 32.44 kB / 467.3 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01841, allocations: 12.67 kB / 467.3 MB, free: 2.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.01852, allocations: 160.7 kB / 467.5 MB, free: 2.727 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01852, allocations: 0.7188 kB / 467.5 MB, free: 2.727 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.01875, allocations: 151.6 kB / 467.6 MB, free: 2.578 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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 8.058e-05/0.01883, allocations: 95.56 kB / 467.7 MB, free: 2.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.0191, allocations: 303.5 kB / 468 MB, free: 2.168 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.01911, allocations: 8 kB / 468 MB, free: 2.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01922, allocations: 121.5 kB / 468.1 MB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.01959, allocations: 186.3 kB / 468.3 MB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.02338, allocations: 1.147 MB / 469.4 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.754e-05/0.02347, allocations: 141.8 kB / 469.6 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.02363, allocations: 68.52 kB / 469.7 MB, free: 484 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.02383, allocations: 158.8 kB / 469.8 MB, free: 328 kB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02383, allocations: 4 kB / 469.8 MB, free: 324 kB / 442.7 MB Notification: Performance of Templates: time 0.009517/0.03335, allocations: 6.669 MB / 476.5 MB, free: 10.15 MB / 458.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.696494245901704]