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.001774/0.001774, allocations: 93.47 kB / 19.45 MB, free: 336 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.002011/0.002011, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.07472/0.07472, allocations: 8.618 MB / 268.2 MB, free: 4.945 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.643e-06/1.643e-06, allocations: 3.938 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.585e-05, allocations: 6.312 kB / 340.1 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.002948/0.002973, allocations: 2.409 MB / 342.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.005122, allocations: 1.544 MB / 344.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.00534, allocations: 19.81 kB / 344.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007611/0.006101, allocations: 222.8 kB / 344.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.006517, allocations: 214.9 kB / 344.5 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.007272, allocations: 414.8 kB / 345 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.007699, allocations: 0.5467 MB / 345.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.00785, allocations: 69.16 kB / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.008092, allocations: 271.2 kB / 345.8 MB, free: 3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.008307, allocations: 195.4 kB / 346 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.008362, allocations: 32 kB / 346.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.00858, allocations: 147.8 kB / 346.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.008689, allocations: 139.5 kB / 346.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.008814, allocations: 123.5 kB / 346.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.009293, allocations: 0.5567 MB / 347 MB, free: 1.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.009296, allocations: 0 / 347 MB, free: 1.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.009298, allocations: 4 kB / 347 MB, free: 1.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.009305, allocations: 0 / 347 MB, free: 1.812 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.001045/0.01035, allocations: 0.9354 MB / 347.9 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.01038, allocations: 8.031 kB / 348 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.0105, allocations: 100.5 kB / 348.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.01101, allocations: 397 kB / 348.4 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.01104, allocations: 25.03 kB / 348.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.01109, allocations: 32.38 kB / 348.5 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.01169, allocations: 437.2 kB / 348.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.01172, allocations: 3.938 kB / 348.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.01176, allocations: 12 kB / 348.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.01177, allocations: 8 kB / 348.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.01226, allocations: 228.1 kB / 349.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.01519, allocations: 2.055 MB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.01574, allocations: 192.7 kB / 351.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.01595, allocations: 105.4 kB / 351.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.01598, allocations: 8.125 kB / 351.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.01637, allocations: 220 kB / 351.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.01638, allocations: 0 / 351.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001073/0.01745, allocations: 447 kB / 352.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.01752, allocations: 85.09 kB / 352.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.01828, allocations: 0.5767 MB / 352.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.01832, allocations: 29.7 kB / 352.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.01866, allocations: 351 kB / 353.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.01877, allocations: 103.3 kB / 353.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.01895, allocations: 111.3 kB / 353.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003455/0.01929, allocations: 0.5664 MB / 354 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.0195, allocations: 102.2 kB / 354.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.01998, allocations: 355.5 kB / 354.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/0.02086, allocations: 0.5515 MB / 355 MB, free: 9.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.02086, allocations: 0 / 355 MB, free: 9.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009073/0.02177, allocations: 0.4884 MB / 355.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.02183, allocations: 37.7 kB / 355.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.02185, allocations: 8.594 kB / 355.5 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.02188, allocations: 12 kB / 355.5 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.02246, allocations: 83.83 kB / 355.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.02249, allocations: 11.98 kB / 355.6 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.02272, allocations: 51.67 kB / 355.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.02276, allocations: 20 kB / 355.7 MB, free: 8.535 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 (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.0003535/0.02311, allocations: 261.3 kB / 355.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.02323, allocations: 63.67 kB / 356 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008478/0.02408, allocations: 393.8 kB / 356.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.02408, allocations: 4 kB / 356.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.02409, allocations: 0 / 356.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.02409, allocations: 3.984 kB / 356.4 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.02467, allocations: 384.3 kB / 356.8 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02467, allocations: 4 kB / 356.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.02495, allocations: 43.97 kB / 356.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.02496, allocations: 0 / 356.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.02499, allocations: 12 kB / 356.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02499, allocations: 0 / 356.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.025, allocations: 3.938 kB / 356.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.02605, allocations: 0.5655 MB / 357.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.02615, allocations: 47.59 kB / 357.5 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.02622, allocations: 8 kB / 357.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.02638, allocations: 15.98 kB / 357.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.02648, allocations: 27.95 kB / 357.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.02652, allocations: 8 kB / 357.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004553/0.02698, allocations: 354.8 kB / 357.9 MB, free: 6.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02698, allocations: 0 / 357.9 MB, free: 6.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.02748, allocations: 119.7 kB / 358 MB, free: 6.145 MB / 282.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.003052/0.03053, allocations: 497 kB / 358.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.03137, allocations: 411 kB / 358.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03137, allocations: 0 / 358.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.0317, allocations: 216.7 kB / 359.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.03232, allocations: 88.62 kB / 359.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.03404, allocations: 0.8316 MB / 360 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.03437, allocations: 263.6 kB / 360.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.03459, allocations: 59.23 kB / 360.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.0347, allocations: 40.5 kB / 360.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.0347, allocations: 0 / 360.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of Templates: time 0.01354/0.04824, allocations: 4.691 MB / 365 MB, free: 15.19 MB / 298.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: 4.724581471993588]