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.0007384/0.0007384, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007156/0.0007156, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8732/0.8732, allocations: 177.2 MB / 203.5 MB, free: 5.719 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-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 0.7288/0.7288, allocations: 154.5 MB / 414.5 MB, free: 0.832 MB / 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 1.913e-06/1.913e-06, allocations: 0 / 0.6192 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.263e-05, allocations: 5.125 kB / 0.6192 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003683/0.003715, allocations: 3.737 MB / 0.6229 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.005859, allocations: 1.324 MB / 0.6242 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.006289, allocations: 27.81 kB / 0.6242 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.006601, allocations: 130.7 kB / 0.6243 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.006982, allocations: 186.3 kB / 0.6245 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.007786, allocations: 422.7 kB / 0.6249 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.008654, allocations: 0.9824 MB / 0.6259 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.009069, allocations: 286.6 kB / 0.6261 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.009509, allocations: 0.495 MB / 0.6266 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.009738, allocations: 243.2 kB / 0.6269 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.009813, allocations: 88 kB / 0.6269 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.009881, allocations: 92 kB / 0.627 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.009981, allocations: 187.3 kB / 0.6272 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.01015, allocations: 247.4 kB / 0.6274 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.01098, allocations: 1.086 MB / 0.6285 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01099, allocations: 0 / 0.6285 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/0.01099, allocations: 0 / 0.6285 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.011, allocations: 0 / 0.6285 GB, free: 2.637 MB / 0.5417 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.001389/0.01239, allocations: 1.076 MB / 0.6295 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.01244, allocations: 13.41 kB / 0.6296 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01255, allocations: 84.42 kB / 0.6296 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.01327, allocations: 0.5146 MB / 0.6301 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.0133, allocations: 41.69 kB / 0.6302 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.01337, allocations: 68.31 kB / 0.6302 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.01415, allocations: 0.6544 MB / 0.6309 GB, free: 92 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.01417, allocations: 192 / 0.6309 GB, free: 92 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.0142, allocations: 20.38 kB / 0.6309 GB, free: 72 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.01422, allocations: 19.94 kB / 0.6309 GB, free: 52 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.01486, allocations: 461 kB / 0.6314 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.01684, allocations: 1.694 MB / 0.633 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.0174, allocations: 426.9 kB / 0.6334 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.01766, allocations: 222.3 kB / 0.6336 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.01769, allocations: 8.5 kB / 0.6336 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/0.01805, allocations: 258.2 kB / 0.6339 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/0.01805, allocations: 0 / 0.6339 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.0008182/0.01887, allocations: 0.5904 MB / 0.6345 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.01891, allocations: 63.84 kB / 0.6345 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.01924, allocations: 429.9 kB / 0.6349 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.01926, allocations: 29.7 kB / 0.635 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.01946, allocations: 336.8 kB / 0.6353 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.01957, allocations: 174.5 kB / 0.6355 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.01967, allocations: 98.3 kB / 0.6356 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01977, allocations: 366.8 kB / 0.6359 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.02002, allocations: 190.9 kB / 0.6361 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.02027, allocations: 280.3 kB / 0.6364 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.02075, allocations: 459.2 kB / 0.6368 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02075, allocations: 0 / 0.6368 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006331/0.02139, allocations: 0.5863 MB / 0.6374 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.02142, allocations: 37.95 kB / 0.6374 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.02143, allocations: 0 / 0.6374 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.02145, allocations: 8 kB / 0.6374 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.02173, allocations: 107.9 kB / 0.6375 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.02174, allocations: 11.88 kB / 0.6375 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.02192, allocations: 59.64 kB / 0.6376 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.02194, allocations: 16 kB / 0.6376 GB, free: 9 MB / 0.5573 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.0001936/0.02213, allocations: 206.7 kB / 0.6378 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.02218, allocations: 67.62 kB / 0.6379 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.02226, allocations: 69.38 kB / 0.6379 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.02227, allocations: 4 kB / 0.6379 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.02228, allocations: 7.875 kB / 0.6379 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.02228, allocations: 7.984 kB / 0.6379 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.02336, allocations: 0.9845 MB / 0.6389 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02336, allocations: 4 kB / 0.6389 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.0236, allocations: 95.88 kB / 0.639 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.0236, allocations: 4 kB / 0.639 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.02363, allocations: 19.86 kB / 0.639 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.02363, allocations: 4 kB / 0.639 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02363, allocations: 0 / 0.639 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.0245, allocations: 0.7553 MB / 0.6398 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.02462, allocations: 99.52 kB / 0.6399 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.02466, allocations: 15.94 kB / 0.6399 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.02479, allocations: 23.97 kB / 0.6399 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.02486, allocations: 36.44 kB / 0.6399 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.02488, allocations: 8 kB / 0.6399 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002136/0.02509, allocations: 299.1 kB / 0.6402 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.02509, allocations: 0 / 0.6402 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003277/0.02542, allocations: 143.7 kB / 0.6404 GB, free: 6.113 MB / 0.5573 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.0001277/0.02555, allocations: 120.9 kB / 0.6405 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000604/0.02615, allocations: 487.3 kB / 0.6409 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02616, allocations: 0.5 kB / 0.6409 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.02639, allocations: 210.7 kB / 0.6411 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.02685, allocations: 139 kB / 0.6413 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.02858, allocations: 1.294 MB / 0.6425 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.02875, allocations: 296.7 kB / 0.6428 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.02886, allocations: 44.48 kB / 0.6429 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.02886, allocations: 0 / 0.6429 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of Templates: time 0.2481/0.277, allocations: 7.813 MB / 0.6505 GB, free: 38.21 MB / 0.5573 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: 5.395306739024818] Failed to read output from testmodel.py, exit status != 0: 0.2836302276700735 0.29161246299999993 0.27889910199999995 Calling exit ...