Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001122/0.001122, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001184/0.001184, allocations: 169 kB / 23.27 MB, free: 1.223 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.9769/0.9769, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.05186/0.05186, allocations: 8.621 MB / 268.9 MB, free: 4.781 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 341.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.358e-05, allocations: 4.703 kB / 341.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.009409/0.009432, allocations: 2.409 MB / 343.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008071/0.0175, allocations: 1.536 MB / 345.3 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.0177, allocations: 23.75 kB / 345.3 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.01832, allocations: 234.8 kB / 345.5 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.01871, allocations: 214.8 kB / 345.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.01942, allocations: 418.8 kB / 346.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.01998, allocations: 0.5426 MB / 346.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.02013, allocations: 65.09 kB / 346.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.02041, allocations: 275.2 kB / 347 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.02065, allocations: 195.4 kB / 347.2 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.0207, allocations: 32 kB / 347.2 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.02092, allocations: 151.8 kB / 347.4 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.02106, allocations: 135.5 kB / 347.5 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.02117, allocations: 119.5 kB / 347.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.0217, allocations: 450.3 kB / 348.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0217, allocations: 4 kB / 348.1 MB, free: 2.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.02171, allocations: 0 / 348.1 MB, free: 2.391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.02171, allocations: 0 / 348.1 MB, free: 2.391 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003991/0.0257, allocations: 0.916 MB / 349 MB, free: 1.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.02574, allocations: 8.031 kB / 349 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.02586, allocations: 84.56 kB / 349.1 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.02633, allocations: 393.7 kB / 349.5 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.02636, allocations: 28.97 kB / 349.5 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.02641, allocations: 40.36 kB / 349.5 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.02683, allocations: 365 kB / 349.9 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.02685, allocations: 7.875 kB / 349.9 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.02688, allocations: 12 kB / 349.9 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.02689, allocations: 11.98 kB / 349.9 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.02709, allocations: 150.1 kB / 350.1 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.02886, allocations: 1.865 MB / 351.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.02909, allocations: 144.7 kB / 352.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.02916, allocations: 85.36 kB / 352.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.02918, allocations: 7.984 kB / 352.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.02936, allocations: 186.9 kB / 352.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.02936, allocations: 0 / 352.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003706/0.02973, allocations: 360.9 kB / 352.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.02977, allocations: 93.09 kB / 352.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.03006, allocations: 490.3 kB / 353.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.03008, allocations: 29.7 kB / 353.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.03024, allocations: 334.9 kB / 353.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.0303, allocations: 107 kB / 353.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.03039, allocations: 95.25 kB / 353.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.03055, allocations: 0.5429 MB / 354.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.03061, allocations: 70.16 kB / 354.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.03078, allocations: 303.6 kB / 354.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.03108, allocations: 476.1 kB / 355.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.03108, allocations: 4 kB / 355.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003472/0.03143, allocations: 408.6 kB / 355.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.03146, allocations: 41.78 kB / 355.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.03147, allocations: 4 kB / 355.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.03148, allocations: 8 kB / 355.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.03165, allocations: 79.84 kB / 355.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.03166, allocations: 11.94 kB / 355.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.03176, allocations: 51.67 kB / 355.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.03178, allocations: 16 kB / 355.8 MB, free: 10.06 MB / 330.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.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 (50): * Single equations (assignments): 49 * 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.0001777/0.03196, allocations: 245.2 kB / 356 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.03201, allocations: 67.66 kB / 356.1 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.03233, allocations: 333.8 kB / 356.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.03234, allocations: 4 kB / 356.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.03234, allocations: 0 / 356.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.03234, allocations: 7.984 kB / 356.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.03256, allocations: 252.9 kB / 356.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.03256, allocations: 7.938 kB / 356.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.03269, allocations: 43.91 kB / 356.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.03269, allocations: 4 kB / 356.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.03271, allocations: 8 kB / 356.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.03272, allocations: 0 / 356.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.03272, allocations: 11.92 kB / 356.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.03311, allocations: 461.2 kB / 357.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.03315, allocations: 43.59 kB / 357.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.03319, allocations: 15.98 kB / 357.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.03325, allocations: 12 kB / 357.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.0333, allocations: 27.89 kB / 357.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.03332, allocations: 12 kB / 357.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004556/0.03378, allocations: 294.7 kB / 357.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03378, allocations: 0 / 357.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000277/0.03405, allocations: 111.8 kB / 357.7 MB, free: 8.039 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (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 (26): * Single equations (assignments): 23 * 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.0009101/0.03496, allocations: 432 kB / 358.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.03526, allocations: 324.2 kB / 358.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03526, allocations: 0 / 358.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.03539, allocations: 193 kB / 358.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.03567, allocations: 88.73 kB / 358.7 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.0366, allocations: 0.7836 MB / 359.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.03668, allocations: 137.1 kB / 359.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.03679, allocations: 51.33 kB / 359.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.03695, allocations: 154.2 kB / 359.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03695, allocations: 0 / 359.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of Templates: time 0.007777/0.04472, allocations: 5.086 MB / 364.9 MB, free: 0.9062 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.99057489214465]