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.0009935/0.0009935, allocations: 92.22 kB / 19.65 MB, free: 276 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.001104/0.001104, allocations: 169 kB / 23.02 MB, free: 1.547 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.05994/0.05994, allocations: 8.614 MB / 268.6 MB, free: 4.906 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 8.52e-07/8.52e-07, allocations: 0 / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.402e-05, allocations: 9.344 kB / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002133/0.002147, allocations: 2.419 MB / 343.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.00367, allocations: 1.637 MB / 344.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.003803, allocations: 23.75 kB / 345 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.004221, allocations: 234.8 kB / 345.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.004488, allocations: 214.9 kB / 345.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.004958, allocations: 454.7 kB / 345.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.005285, allocations: 0.5904 MB / 346.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.005382, allocations: 65.22 kB / 346.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.005568, allocations: 291.3 kB / 346.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.005729, allocations: 211.4 kB / 347 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.005765, allocations: 36 kB / 347 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.005907, allocations: 155.8 kB / 347.2 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.005988, allocations: 159.4 kB / 347.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.006066, allocations: 131.5 kB / 347.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.006399, allocations: 478.2 kB / 347.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.006401, allocations: 0 / 347.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.006401, allocations: 0 / 347.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.006406, allocations: 4 kB / 347.9 MB, free: 1.297 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.0006953/0.007101, allocations: 0.9554 MB / 348.9 MB, free: 300 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.007127, allocations: 12.03 kB / 348.9 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.007212, allocations: 92.52 kB / 349 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.007607, allocations: 421.6 kB / 349.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.007635, allocations: 33.36 kB / 349.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.007683, allocations: 40.33 kB / 349.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.008079, allocations: 407.1 kB / 349.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.008095, allocations: 11.88 kB / 349.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.008118, allocations: 12 kB / 349.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.008128, allocations: 8 kB / 349.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.008378, allocations: 205.3 kB / 350.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.009877, allocations: 2.059 MB / 352.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.01008, allocations: 181.1 kB / 352.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01018, allocations: 97.58 kB / 352.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.0102, allocations: 4.234 kB / 352.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01039, allocations: 215.2 kB / 352.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.0104, allocations: 0 / 352.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.000458/0.01085, allocations: 428.9 kB / 353.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.01089, allocations: 89.09 kB / 353.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.01123, allocations: 0.5102 MB / 353.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01126, allocations: 37.7 kB / 353.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.01166, allocations: 343.3 kB / 354 MB, free: 10.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.01173, allocations: 123 kB / 354.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01184, allocations: 111.8 kB / 354.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01197, allocations: 0.543 MB / 354.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01208, allocations: 102.8 kB / 354.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.01228, allocations: 350 kB / 355.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.01268, allocations: 0.5395 MB / 355.8 MB, free: 8.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.01269, allocations: 4 kB / 355.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004649/0.01315, allocations: 0.494 MB / 356.3 MB, free: 8.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.01318, allocations: 45.62 kB / 356.3 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01319, allocations: 4 kB / 356.3 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.0132, allocations: 11.94 kB / 356.3 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.01345, allocations: 111.8 kB / 356.5 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01346, allocations: 8 kB / 356.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01358, allocations: 59.98 kB / 356.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.01361, allocations: 28 kB / 356.5 MB, free: 8.059 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.0001699/0.01378, allocations: 258 kB / 356.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.01383, allocations: 71.62 kB / 356.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.01426, allocations: 398.5 kB / 357.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01426, allocations: 4 kB / 357.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01426, allocations: 0 / 357.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01427, allocations: 0 / 357.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.01452, allocations: 348.3 kB / 357.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01452, allocations: 0 / 357.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.01474, allocations: 71.89 kB / 357.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01475, allocations: 7.984 kB / 357.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.01477, allocations: 12 kB / 357.7 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01477, allocations: 7.938 kB / 357.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01478, allocations: 0 / 357.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.01528, allocations: 0.5301 MB / 358.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.01532, allocations: 43.61 kB / 358.3 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.01536, allocations: 19.98 kB / 358.3 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.01543, allocations: 19.92 kB / 358.3 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.01549, allocations: 27.95 kB / 358.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.01551, allocations: 16 kB / 358.4 MB, free: 6.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.01571, allocations: 322.8 kB / 358.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 0 / 358.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.01597, allocations: 127.7 kB / 358.8 MB, free: 5.695 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.0007942/0.01677, allocations: 439.6 kB / 359.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.01715, allocations: 384.5 kB / 359.6 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.01715, allocations: 4.062 kB / 359.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.0173, allocations: 208.6 kB / 359.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01755, allocations: 83.42 kB / 359.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.01841, allocations: 0.9135 MB / 360.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.01849, allocations: 145.6 kB / 360.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003909/0.01888, allocations: 88.12 kB / 361 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.01894, allocations: 40.5 kB / 361.1 MB, free: 3.445 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01894, allocations: 3.938 kB / 361.1 MB, free: 3.441 MB / 282.7 MB Notification: Performance of Templates: time 0.007279/0.02622, allocations: 5.147 MB / 366.2 MB, free: 14.34 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.1324090100824833]