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.001364/0.001364, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002607/0.003971, allocations: 440 kB / 10.41 MB, free: 284 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.001226/0.001226, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002813, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.144/1.144, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.245, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7948/0.7948, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2846/1.079, allocations: 49.12 MB / 448.6 MB, free: 5.906 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.704e-06/1.704e-06, allocations: 0.875 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.037e-05, allocations: 3.75 kB / 449.9 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004082/0.004103, allocations: 4.009 MB / 453.9 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.006445, allocations: 1.411 MB / 455.3 MB, free: 15.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.006853, allocations: 27.81 kB / 455.4 MB, free: 15.24 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.007118, allocations: 127.6 kB / 455.5 MB, free: 15.12 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.007385, allocations: 198.4 kB / 455.7 MB, free: 14.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.007973, allocations: 414.5 kB / 456.1 MB, free: 14.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.008727, allocations: 0.9597 MB / 457.1 MB, free: 13.56 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.009101, allocations: 299.2 kB / 457.3 MB, free: 13.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.009654, allocations: 0.5663 MB / 457.9 MB, free: 12.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.009903, allocations: 232.4 kB / 458.1 MB, free: 12.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.01001, allocations: 88 kB / 458.2 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.01008, allocations: 88 kB / 458.3 MB, free: 12.28 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.01017, allocations: 136.2 kB / 458.4 MB, free: 12.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.01031, allocations: 209.2 kB / 458.6 MB, free: 11.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.01076, allocations: 0.5253 MB / 459.2 MB, free: 11.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.01077, allocations: 0 / 459.2 MB, free: 11.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01077, allocations: 0 / 459.2 MB, free: 11.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.01078, allocations: 0 / 459.2 MB, free: 11.41 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.001136/0.01192, allocations: 1.112 MB / 460.3 MB, free: 10.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.01195, allocations: 12.03 kB / 460.3 MB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.01206, allocations: 104.8 kB / 460.4 MB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.01254, allocations: 416.1 kB / 460.8 MB, free: 9.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.01256, allocations: 45.69 kB / 460.9 MB, free: 9.688 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.01262, allocations: 60.38 kB / 460.9 MB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.01305, allocations: 494.6 kB / 461.4 MB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.01307, allocations: 0.8125 kB / 461.4 MB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.0131, allocations: 21 kB / 461.4 MB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.01311, allocations: 19.94 kB / 461.4 MB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.01331, allocations: 163.5 kB / 461.6 MB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.01462, allocations: 1.291 MB / 462.9 MB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.01488, allocations: 221.7 kB / 463.1 MB, free: 7.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.01498, allocations: 106.2 kB / 463.2 MB, free: 7.262 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.01501, allocations: 9.031 kB / 463.2 MB, free: 7.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.0152, allocations: 176.2 kB / 463.4 MB, free: 7.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 1.633e-06/0.0152, allocations: 0 / 463.4 MB, free: 7.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003776/0.01558, allocations: 254.7 kB / 463.6 MB, free: 6.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01561, allocations: 55.91 kB / 463.7 MB, free: 6.754 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.01582, allocations: 388.3 kB / 464.1 MB, free: 6.363 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.01585, allocations: 37.7 kB / 464.1 MB, free: 6.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01596, allocations: 278 kB / 464.4 MB, free: 6.047 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.01604, allocations: 171.4 kB / 464.5 MB, free: 5.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.01612, allocations: 94.3 kB / 464.6 MB, free: 5.777 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.01622, allocations: 374.6 kB / 465 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.0163, allocations: 80.14 kB / 465.1 MB, free: 5.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01641, allocations: 160.4 kB / 465.2 MB, free: 5.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.01661, allocations: 263.2 kB / 465.5 MB, free: 4.848 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01661, allocations: 0 / 465.5 MB, free: 4.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002714/0.01688, allocations: 327.3 kB / 465.8 MB, free: 4.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.01691, allocations: 30.2 kB / 465.8 MB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01692, allocations: 5 kB / 465.8 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01693, allocations: 4 kB / 465.9 MB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.01724, allocations: 146.6 kB / 466 MB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01724, allocations: 4 kB / 466 MB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01737, allocations: 54.12 kB / 466.1 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01739, allocations: 13.41 kB / 466.1 MB, free: 4.258 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.0001127/0.0175, allocations: 142.5 kB / 466.2 MB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.01754, allocations: 52.89 kB / 466.3 MB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.01761, allocations: 61.45 kB / 466.3 MB, free: 4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01761, allocations: 5.219 kB / 466.3 MB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01761, allocations: 3.938 kB / 466.3 MB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01762, allocations: 7.984 kB / 466.3 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.01816, allocations: 0.5807 MB / 466.9 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01816, allocations: 0 / 466.9 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.01842, allocations: 117.6 kB / 467 MB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.01849, allocations: 63.47 kB / 467.1 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.0185, allocations: 5.594 kB / 467.1 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01851, allocations: 8 kB / 467.1 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01852, allocations: 4 kB / 467.1 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01852, allocations: 0 / 467.1 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.01886, allocations: 412.3 kB / 467.5 MB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.01889, allocations: 12.94 kB / 467.5 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.019, allocations: 20.86 kB / 467.5 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.01906, allocations: 36.42 kB / 467.6 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.01907, allocations: 8.594 kB / 467.6 MB, free: 2.699 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01918, allocations: 164.7 kB / 467.7 MB, free: 2.539 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01918, allocations: 1.219 kB / 467.7 MB, free: 2.539 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.0194, allocations: 151.6 kB / 467.9 MB, free: 2.391 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 9.905e-05/0.0195, allocations: 89.98 kB / 468 MB, free: 2.301 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.01977, allocations: 306.9 kB / 468.3 MB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.01978, allocations: 8.531 kB / 468.3 MB, free: 1.973 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.01992, allocations: 147.8 kB / 468.4 MB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.02059, allocations: 1.171 MB / 469.6 MB, free: 472 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.02439, allocations: 1.144 MB / 470.8 MB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.821e-05/0.02447, allocations: 138.9 kB / 470.9 MB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.02463, allocations: 58.22 kB / 470.9 MB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.02485, allocations: 162 kB / 471.1 MB, free: 14.92 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02485, allocations: 0 / 471.1 MB, free: 14.92 MB / 458.7 MB Notification: Performance of Templates: time 0.009038/0.03389, allocations: 6.532 MB / 477.6 MB, free: 8.875 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.892038597725332]