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.0009723/0.0009723, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001224/0.001224, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.03814/0.03814, allocations: 8.614 MB / 269.7 MB, free: 4.762 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.303e-06/1.303e-06, allocations: 0 / 342.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.111e-05, allocations: 9.406 kB / 342.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002889/0.00291, allocations: 2.392 MB / 344.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.004847, allocations: 1.621 MB / 346.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.005014, allocations: 19.81 kB / 346.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.005568, allocations: 226.8 kB / 346.4 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.005911, allocations: 230.8 kB / 346.6 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.00655, allocations: 450.7 kB / 347 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.007, allocations: 0.5905 MB / 347.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.007127, allocations: 65.09 kB / 347.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.007371, allocations: 295.2 kB / 348 MB, free: 3.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.007602, allocations: 215.4 kB / 348.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.007645, allocations: 36 kB / 348.2 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.007833, allocations: 151.8 kB / 348.4 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.007954, allocations: 155.4 kB / 348.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.008056, allocations: 135.5 kB / 348.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.008474, allocations: 474.2 kB / 349.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.008477, allocations: 0 / 349.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008478, allocations: 4 kB / 349.1 MB, free: 2.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.008483, allocations: 0 / 349.1 MB, free: 2.137 MB / 314.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.0008691/0.009352, allocations: 0.9436 MB / 350.1 MB, free: 1.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.009385, allocations: 16.03 kB / 350.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.009492, allocations: 96.5 kB / 350.2 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.009915, allocations: 413.6 kB / 350.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.009942, allocations: 25.38 kB / 350.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.009987, allocations: 44.33 kB / 350.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.01034, allocations: 387 kB / 351 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.01036, allocations: 7.938 kB / 351 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.01038, allocations: 16 kB / 351 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.01039, allocations: 8 kB / 351 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.01059, allocations: 170 kB / 351.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.01194, allocations: 1.954 MB / 353.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.01213, allocations: 153.1 kB / 353.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.0122, allocations: 85.58 kB / 353.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01222, allocations: 8.234 kB / 353.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.01242, allocations: 211.4 kB / 353.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 8.887e-06/0.01243, allocations: 0 / 353.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004407/0.01287, allocations: 408.6 kB / 354 MB, free: 12.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.0129, allocations: 85.09 kB / 354.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.01321, allocations: 0.5061 MB / 354.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01323, allocations: 33.7 kB / 354.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.01339, allocations: 347.2 kB / 355 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.01349, allocations: 123 kB / 355.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01359, allocations: 115.7 kB / 355.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01375, allocations: 0.5468 MB / 355.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.01382, allocations: 78.81 kB / 355.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.01403, allocations: 342 kB / 356.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.01437, allocations: 0.5165 MB / 356.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01438, allocations: 4 kB / 356.7 MB, free: 9.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004027/0.01478, allocations: 482.1 kB / 357.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.01481, allocations: 41.69 kB / 357.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01482, allocations: 8.062 kB / 357.2 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01483, allocations: 11.94 kB / 357.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.01507, allocations: 103.8 kB / 357.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.01507, allocations: 8 kB / 357.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.01519, allocations: 59.55 kB / 357.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.01521, allocations: 20 kB / 357.4 MB, free: 9.227 MB / 330.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R.TS_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.0002017/0.01541, allocations: 273.8 kB / 357.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.01547, allocations: 63.67 kB / 357.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.01585, allocations: 366.6 kB / 358.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01585, allocations: 7.938 kB / 358.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01586, allocations: 0 / 358.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01586, allocations: 0 / 358.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.01609, allocations: 280.8 kB / 358.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01609, allocations: 0 / 358.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.01631, allocations: 63.91 kB / 358.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01631, allocations: 4 kB / 358.4 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.01633, allocations: 11.98 kB / 358.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001302/0.01646, allocations: 4 kB / 358.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01647, allocations: 7.984 kB / 358.5 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.01692, allocations: 0.5027 MB / 359 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.01696, allocations: 51.56 kB / 359 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.017, allocations: 12 kB / 359 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.01707, allocations: 11.98 kB / 359 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.01712, allocations: 31.83 kB / 359.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.01714, allocations: 15.94 kB / 359.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.01732, allocations: 302.7 kB / 359.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01732, allocations: 0 / 359.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.01761, allocations: 127.8 kB / 359.5 MB, free: 7.027 MB / 330.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.0009069/0.01851, allocations: 440.2 kB / 359.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.01883, allocations: 355.3 kB / 360.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01884, allocations: 0 / 360.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01897, allocations: 194 kB / 360.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.01925, allocations: 92.55 kB / 360.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.02012, allocations: 0.9171 MB / 361.5 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.377e-05/0.0202, allocations: 141.7 kB / 361.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.02031, allocations: 52.25 kB / 361.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.02048, allocations: 162.2 kB / 361.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02048, allocations: 0 / 361.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of Templates: time 0.008154/0.02863, allocations: 5.642 MB / 367.5 MB, free: 15.13 MB / 346.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.092082485090941]