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.0009655/0.0009655, allocations: 93.06 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.001253/0.001253, allocations: 169 kB / 23.02 MB, free: 1.539 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.9945/0.9945, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.03495/0.03495, allocations: 8.605 MB / 268.5 MB, free: 4.926 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.803e-06/1.803e-06, allocations: 3.938 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.718e-05, allocations: 2.312 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.002646/0.002674, allocations: 2.447 MB / 343.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.004468, allocations: 1.641 MB / 345 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.004645, allocations: 19.81 kB / 345 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.00531, allocations: 230.8 kB / 345.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.005669, allocations: 218.8 kB / 345.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.006333, allocations: 454.8 kB / 345.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.00676, allocations: 0.5856 MB / 346.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.006889, allocations: 61.23 kB / 346.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.007088, allocations: 291.3 kB / 346.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.007273, allocations: 207.4 kB / 347 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.007319, allocations: 35.98 kB / 347 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.00748, allocations: 151.8 kB / 347.2 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.007574, allocations: 147.4 kB / 347.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.007657, allocations: 119.6 kB / 347.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.008013, allocations: 462.3 kB / 347.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.008015, allocations: 0 / 347.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008017, allocations: 0 / 347.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.008022, allocations: 0 / 347.9 MB, free: 1.332 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.000808/0.00883, allocations: 0.9395 MB / 348.8 MB, free: 348 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.00886, allocations: 12.03 kB / 348.8 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.008949, allocations: 88.56 kB / 348.9 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.009335, allocations: 409.7 kB / 349.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.009395, allocations: 80.62 kB / 349.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.009436, allocations: 36.38 kB / 349.4 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.009838, allocations: 400.8 kB / 349.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.009853, allocations: 0 / 349.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.009877, allocations: 15.94 kB / 349.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.009888, allocations: 8 kB / 349.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.01011, allocations: 185.5 kB / 350 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.01161, allocations: 2.039 MB / 352.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.01186, allocations: 148.6 kB / 352.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.01195, allocations: 89.58 kB / 352.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01198, allocations: 4 kB / 352.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.01218, allocations: 212.1 kB / 352.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.01218, allocations: 0 / 352.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004307/0.01261, allocations: 395 kB / 352.9 MB, free: 12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01264, allocations: 81.11 kB / 353 MB, free: 11.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.01297, allocations: 0.4985 MB / 353.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01299, allocations: 29.7 kB / 353.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.01315, allocations: 342.9 kB / 353.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.01321, allocations: 91.27 kB / 353.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.01329, allocations: 91.72 kB / 354 MB, free: 10.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01343, allocations: 0.5352 MB / 354.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.01352, allocations: 86.53 kB / 354.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.01386, allocations: 316.5 kB / 355 MB, free: 9.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.01431, allocations: 497.1 kB / 355.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01431, allocations: 0 / 355.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005192/0.01483, allocations: 460.2 kB / 355.9 MB, free: 8.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.01487, allocations: 45.69 kB / 355.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01488, allocations: 8 kB / 355.9 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.0149, allocations: 8 kB / 356 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.01524, allocations: 95.88 kB / 356 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.01525, allocations: 7.938 kB / 356.1 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.0154, allocations: 60.03 kB / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01542, allocations: 20 kB / 356.1 MB, free: 8.473 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.0002083/0.01563, allocations: 237.4 kB / 356.4 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.01568, allocations: 63.59 kB / 356.4 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.01612, allocations: 373.8 kB / 356.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01613, allocations: 0 / 356.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01613, allocations: 4 kB / 356.8 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01613, allocations: 0 / 356.8 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.01641, allocations: 336.2 kB / 357.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01641, allocations: 0 / 357.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.01672, allocations: 71.89 kB / 357.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01672, allocations: 4 kB / 357.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.01675, allocations: 15.98 kB / 357.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01675, allocations: 0 / 357.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01675, allocations: 0 / 357.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.01725, allocations: 494.9 kB / 357.7 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.01729, allocations: 51.59 kB / 357.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.01734, allocations: 8 kB / 357.8 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.01743, allocations: 15.98 kB / 357.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.01749, allocations: 19.97 kB / 357.8 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.01751, allocations: 11.98 kB / 357.8 MB, free: 6.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.01771, allocations: 310.8 kB / 358.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01771, allocations: 0 / 358.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.018, allocations: 115.8 kB / 358.2 MB, free: 6.281 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.0008597/0.01886, allocations: 444.3 kB / 358.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.01923, allocations: 347.1 kB / 359 MB, free: 5.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01923, allocations: 1.188 kB / 359 MB, free: 5.617 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.01937, allocations: 192.7 kB / 359.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.01966, allocations: 93.95 kB / 359.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.02064, allocations: 0.8147 MB / 360.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.02072, allocations: 137.2 kB / 360.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02084, allocations: 67.16 kB / 360.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.02091, allocations: 44.5 kB / 360.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02091, allocations: 0 / 360.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of Templates: time 0.007659/0.02857, allocations: 5.068 MB / 365.4 MB, free: 15.18 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9538404252380133]