Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001038/0.001038, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001346/0.001346, allocations: 173 kB / 23.49 MB, free: 1.062 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.9723/0.9723, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.0372/0.0372, allocations: 8.614 MB / 268.9 MB, free: 4.961 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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 340.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.671e-05, allocations: 2.312 kB / 340.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.003545/0.003572, allocations: 2.412 MB / 343.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.006096, allocations: 1.639 MB / 344.9 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.006318, allocations: 23.75 kB / 345 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.007046, allocations: 222.9 kB / 345.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.007505, allocations: 218.8 kB / 345.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.008389, allocations: 450.7 kB / 345.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.008988, allocations: 0.5904 MB / 346.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.009153, allocations: 61.23 kB / 346.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.009482, allocations: 295.2 kB / 346.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.009775, allocations: 223.4 kB / 347 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.009834, allocations: 32 kB / 347 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.01007, allocations: 155.8 kB / 347.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.01021, allocations: 151.4 kB / 347.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.01035, allocations: 127.6 kB / 347.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.01092, allocations: 482.1 kB / 347.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.01092, allocations: 0 / 347.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01092, allocations: 0 / 347.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.01093, allocations: 4 kB / 347.9 MB, free: 1.629 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001224/0.01215, allocations: 0.9554 MB / 348.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01219, allocations: 8.031 kB / 348.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.01233, allocations: 96.52 kB / 349 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.0129, allocations: 429.6 kB / 349.4 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.01294, allocations: 29.38 kB / 349.4 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.013, allocations: 40.33 kB / 349.5 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.01371, allocations: 403.1 kB / 349.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.01374, allocations: 15.86 kB / 349.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.01378, allocations: 16 kB / 349.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.01379, allocations: 8 kB / 349.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.01423, allocations: 197.4 kB / 350.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.01614, allocations: 2.071 MB / 352.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.01638, allocations: 169.1 kB / 352.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.01648, allocations: 93.59 kB / 352.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.0165, allocations: 4.234 kB / 352.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.01674, allocations: 210.5 kB / 352.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.01674, allocations: 0 / 352.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005747/0.01732, allocations: 448.8 kB / 353.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.01737, allocations: 81.11 kB / 353.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.01777, allocations: 0.5141 MB / 353.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01779, allocations: 33.7 kB / 353.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.01797, allocations: 343.3 kB / 354 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.01804, allocations: 127 kB / 354.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.01814, allocations: 107.8 kB / 354.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.01829, allocations: 0.543 MB / 354.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.0184, allocations: 90.81 kB / 354.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.01863, allocations: 358 kB / 355.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.01908, allocations: 0.5434 MB / 355.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01908, allocations: 0 / 355.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005067/0.01959, allocations: 0.4937 MB / 356.3 MB, free: 8.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.01962, allocations: 41.64 kB / 356.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.01963, allocations: 12.64 kB / 356.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01965, allocations: 11.94 kB / 356.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.01992, allocations: 115.8 kB / 356.5 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.01993, allocations: 4 kB / 356.5 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.02006, allocations: 59.61 kB / 356.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.02009, allocations: 27.94 kB / 356.6 MB, free: 8.387 MB / 282.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 62 * 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.0002124/0.0203, allocations: 250 kB / 356.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.02036, allocations: 71.62 kB / 356.9 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.02082, allocations: 394.5 kB / 357.2 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.02082, allocations: 4 kB / 357.3 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.02083, allocations: 4 kB / 357.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.02083, allocations: 3.984 kB / 357.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.02113, allocations: 348.3 kB / 357.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02113, allocations: 0 / 357.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.02137, allocations: 75.88 kB / 357.7 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.02137, allocations: 0 / 357.7 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.0214, allocations: 15.98 kB / 357.7 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.0214, allocations: 3.938 kB / 357.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0214, allocations: 0 / 357.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.02194, allocations: 0.5341 MB / 358.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.02199, allocations: 47.61 kB / 358.3 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.02203, allocations: 12 kB / 358.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.02211, allocations: 15.92 kB / 358.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.02219, allocations: 31.95 kB / 358.3 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.02221, allocations: 15.98 kB / 358.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.02244, allocations: 322.8 kB / 358.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02244, allocations: 3.938 kB / 358.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.02273, allocations: 127.7 kB / 358.8 MB, free: 6.027 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (31): * Single equations (assignments): 28 * 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.0008467/0.02358, allocations: 442.5 kB / 359.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.02398, allocations: 387.2 kB / 359.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02398, allocations: 0 / 359.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.02415, allocations: 204.6 kB / 359.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.02443, allocations: 81.47 kB / 359.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.02534, allocations: 0.9174 MB / 360.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.02543, allocations: 145.6 kB / 360.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.02557, allocations: 84.14 kB / 361 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.02564, allocations: 44.48 kB / 361.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02564, allocations: 3.938 kB / 361.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of Templates: time 0.007467/0.0331, allocations: 5.148 MB / 366.2 MB, free: 14.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.062992610037327]