Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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.001375/0.001375, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001556/0.001556, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06528/0.06528, allocations: 8.605 MB / 268.2 MB, free: 4.93 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.13e-05, allocations: 8.562 kB / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.002897/0.002919, allocations: 2.366 MB / 342.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.00534, allocations: 1.602 MB / 344.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.00563, allocations: 15.81 kB / 344.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.006343, allocations: 234.7 kB / 344.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.006851, allocations: 218.9 kB / 344.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.007748, allocations: 446.8 kB / 345 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.008257, allocations: 0.5857 MB / 345.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.008394, allocations: 69.16 kB / 345.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.008655, allocations: 287.3 kB / 345.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.008971, allocations: 207.4 kB / 346.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.009025, allocations: 36 kB / 346.2 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.009244, allocations: 151.8 kB / 346.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.009358, allocations: 151.4 kB / 346.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.009472, allocations: 123.6 kB / 346.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.009968, allocations: 0.5684 MB / 347.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.009973, allocations: 3.984 kB / 347.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009974, allocations: 4 kB / 347.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.00998, allocations: 0 / 347.2 MB, free: 1.664 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001124/0.0111, allocations: 0.8279 MB / 348 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.01113, allocations: 8.031 kB / 348 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.01126, allocations: 92.56 kB / 348.1 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.01175, allocations: 410.1 kB / 348.5 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.01182, allocations: 84.61 kB / 348.6 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.01188, allocations: 36.38 kB / 348.6 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.01277, allocations: 483.3 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.0128, allocations: 3.938 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.01285, allocations: 19.98 kB / 349.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.01286, allocations: 8 kB / 349.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.01356, allocations: 324 kB / 349.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.01642, allocations: 1.691 MB / 351.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.01703, allocations: 224.3 kB / 351.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.01731, allocations: 150.6 kB / 351.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.01735, allocations: 7.938 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/0.01782, allocations: 256.5 kB / 351.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.01782, allocations: 0 / 351.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001426/0.01925, allocations: 0.5536 MB / 352.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.01933, allocations: 85.09 kB / 352.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/0.02002, allocations: 0.5017 MB / 352.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.02006, allocations: 29.7 kB / 352.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.02035, allocations: 284.2 kB / 353.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.02046, allocations: 95.17 kB / 353.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.02063, allocations: 94.05 kB / 353.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.02087, allocations: 358.8 kB / 353.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.02119, allocations: 158.5 kB / 353.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.02167, allocations: 327.3 kB / 354.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.02361, allocations: 0.8142 MB / 355 MB, free: 9.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.02361, allocations: 3.938 kB / 355 MB, free: 9.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001141/0.02475, allocations: 0.6095 MB / 355.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.02481, allocations: 45.69 kB / 355.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.02483, allocations: 4 kB / 355.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/0.02486, allocations: 8 kB / 355.7 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.0255, allocations: 95.88 kB / 355.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.02551, allocations: 11.94 kB / 355.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.02578, allocations: 56.06 kB / 355.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.02583, allocations: 20 kB / 355.9 MB, free: 8.445 MB / 282.7 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0003749/0.0262, allocations: 246.5 kB / 356.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.02632, allocations: 67.61 kB / 356.2 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009909/0.02731, allocations: 0.4982 MB / 356.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.02732, allocations: 4 kB / 356.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.02732, allocations: 0 / 356.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.02733, allocations: 3.984 kB / 356.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.02783, allocations: 332.9 kB / 357 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.02784, allocations: 3.984 kB / 357 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.02847, allocations: 71.89 kB / 357.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.02848, allocations: 0 / 357.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.02851, allocations: 8 kB / 357.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.02852, allocations: 4 kB / 357.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02852, allocations: 0 / 357.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.02979, allocations: 0.6896 MB / 357.8 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.02988, allocations: 43.66 kB / 357.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.02995, allocations: 8 kB / 357.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.03012, allocations: 15.98 kB / 357.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.0302, allocations: 23.97 kB / 357.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.03024, allocations: 15.98 kB / 357.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004562/0.0307, allocations: 338.9 kB / 358.2 MB, free: 6 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0307, allocations: 0 / 358.2 MB, free: 6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004732/0.03117, allocations: 119.7 kB / 358.3 MB, free: 5.883 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.002077/0.03325, allocations: 487.7 kB / 358.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.03451, allocations: 462.4 kB / 359.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03452, allocations: 0 / 359.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.03493, allocations: 232.9 kB / 359.5 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.0355, allocations: 96.77 kB / 359.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.03728, allocations: 0.9089 MB / 360.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.03763, allocations: 275.7 kB / 360.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.03786, allocations: 67.23 kB / 360.8 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.03797, allocations: 32.5 kB / 360.9 MB, free: 3.441 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03797, allocations: 0 / 360.9 MB, free: 3.441 MB / 282.7 MB Notification: Performance of Templates: time 0.01237/0.05034, allocations: 4.791 MB / 365.6 MB, free: 14.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5315402779961005]