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.001588/0.001588, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002051/0.002051, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.637/1.637, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-531:190: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-531:198: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.32/1.32, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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.565e-06/2.565e-06, allocations: 0 / 0.6185 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.736e-05/4.992e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006698/0.006748, allocations: 3.752 MB / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003457/0.0102, allocations: 1.322 MB / 0.6234 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/0.01071, allocations: 27.81 kB / 0.6235 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.01112, allocations: 134.6 kB / 0.6236 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.01155, allocations: 190.3 kB / 0.6238 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.01267, allocations: 422.5 kB / 0.6242 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01406, allocations: 0.9746 MB / 0.6251 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.01468, allocations: 286.6 kB / 0.6254 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007218/0.0154, allocations: 0.4989 MB / 0.6259 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.01583, allocations: 243.2 kB / 0.6261 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.016, allocations: 92 kB / 0.6262 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.01614, allocations: 88 kB / 0.6263 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.01634, allocations: 175.4 kB / 0.6265 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.01667, allocations: 259.4 kB / 0.6267 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.01815, allocations: 1.09 MB / 0.6278 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01816, allocations: 0 / 0.6278 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01816, allocations: 0 / 0.6278 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.01817, allocations: 0 / 0.6278 GB, free: 11.16 MB / 0.545 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.002423/0.0206, allocations: 1.072 MB / 0.6288 GB, free: 10.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.02065, allocations: 9.469 kB / 0.6288 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.02081, allocations: 92.42 kB / 0.6289 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.02189, allocations: 0.4991 MB / 0.6294 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.02194, allocations: 45.69 kB / 0.6294 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.02211, allocations: 64.33 kB / 0.6295 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.0234, allocations: 0.6583 MB / 0.6301 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.02342, allocations: 8.188 kB / 0.6302 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.02348, allocations: 20.38 kB / 0.6302 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.0235, allocations: 19.94 kB / 0.6302 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.02457, allocations: 457 kB / 0.6306 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.02774, allocations: 1.69 MB / 0.6323 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.02878, allocations: 428.2 kB / 0.6327 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.02927, allocations: 226.2 kB / 0.6329 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.02932, allocations: 8.5 kB / 0.6329 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006279/0.02994, allocations: 258.2 kB / 0.6332 GB, free: 5.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 3.296e-06/0.02995, allocations: 0 / 0.6332 GB, free: 5.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001543/0.03149, allocations: 0.5903 MB / 0.6337 GB, free: 4.871 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.03156, allocations: 67.78 kB / 0.6338 GB, free: 4.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.03221, allocations: 429.9 kB / 0.6342 GB, free: 4.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.03225, allocations: 29.7 kB / 0.6342 GB, free: 4.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.0326, allocations: 344.8 kB / 0.6346 GB, free: 3.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.0328, allocations: 174.5 kB / 0.6347 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.03297, allocations: 98.28 kB / 0.6348 GB, free: 3.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002723/0.03324, allocations: 362.8 kB / 0.6352 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.0337, allocations: 194.9 kB / 0.6354 GB, free: 3.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.03421, allocations: 272.4 kB / 0.6356 GB, free: 2.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.03514, allocations: 451.2 kB / 0.636 GB, free: 2.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03515, allocations: 3.938 kB / 0.636 GB, free: 2.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001249/0.0364, allocations: 0.5941 MB / 0.6366 GB, free: 1.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.03645, allocations: 33.7 kB / 0.6367 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.03646, allocations: 3.984 kB / 0.6367 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.03649, allocations: 8 kB / 0.6367 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.03702, allocations: 116.1 kB / 0.6368 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.03704, allocations: 7.938 kB / 0.6368 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.03743, allocations: 51.72 kB / 0.6368 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.03747, allocations: 19.98 kB / 0.6369 GB, free: 1.523 MB / 0.545 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.0003326/0.03781, allocations: 214.6 kB / 0.6371 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.03789, allocations: 55.62 kB / 0.6371 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.03804, allocations: 65.44 kB / 0.6372 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.03805, allocations: 4 kB / 0.6372 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.03806, allocations: 7.938 kB / 0.6372 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.03807, allocations: 4 kB / 0.6372 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.04011, allocations: 0.9922 MB / 0.6382 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.04011, allocations: 0 / 0.6382 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.04061, allocations: 95.88 kB / 0.6383 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.04062, allocations: 4 kB / 0.6383 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.04066, allocations: 15.94 kB / 0.6383 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.04066, allocations: 4 kB / 0.6383 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.04066, allocations: 0 / 0.6383 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.04217, allocations: 0.7593 MB / 0.639 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.04234, allocations: 95.52 kB / 0.6391 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.04241, allocations: 15.94 kB / 0.6391 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.0427, allocations: 31.97 kB / 0.6392 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.04281, allocations: 32.44 kB / 0.6392 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.04285, allocations: 15.98 kB / 0.6392 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004196/0.04327, allocations: 295.1 kB / 0.6395 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.04327, allocations: 0 / 0.6395 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005004/0.04377, allocations: 143.7 kB / 0.6396 GB, free: 14.64 MB / 0.5606 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.0001919/0.04396, allocations: 113.5 kB / 0.6397 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.04516, allocations: 495.2 kB / 0.6402 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.04516, allocations: 0 / 0.6402 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.04563, allocations: 210.7 kB / 0.6404 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.04645, allocations: 140.4 kB / 0.6405 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.04966, allocations: 1.269 MB / 0.6418 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.05001, allocations: 292.7 kB / 0.6421 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000278/0.05028, allocations: 56.55 kB / 0.6421 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.05042, allocations: 44.48 kB / 0.6422 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.05042, allocations: 0 / 0.6422 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.01421/0.06463, allocations: 5.763 MB / 0.6478 GB, free: 6.355 MB / 0.5606 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.948343373835087] Failed to read output from testmodel.py, exit status != 0: 0.07500023767352104 0.09084354 0.069303669 Calling exit ...