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.001381/0.001381, allocations: 92.7 kB / 19.44 MB, free: 328 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.001588/0.001588, allocations: 161.7 kB / 22.75 MB, free: 1.66 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.06609/0.06609, allocations: 8.599 MB / 268.2 MB, free: 4.949 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.313e-06/1.313e-06, allocations: 0 / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.382e-05, allocations: 4.562 kB / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.003003/0.003026, allocations: 2.362 MB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.005305, allocations: 1.505 MB / 344 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.005591, allocations: 23.75 kB / 344 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007543/0.006346, allocations: 230.8 kB / 344.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.006893, allocations: 218.9 kB / 344.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008847/0.007778, allocations: 406.9 kB / 344.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.008319, allocations: 0.5467 MB / 345.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.008478, allocations: 69.16 kB / 345.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.008834, allocations: 271.2 kB / 345.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.009075, allocations: 199.4 kB / 345.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.009132, allocations: 32 kB / 346 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.009364, allocations: 147.8 kB / 346.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.009478, allocations: 143.5 kB / 346.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.0096, allocations: 123.5 kB / 346.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.01014, allocations: 0.5528 MB / 346.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01014, allocations: 4 kB / 346.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01014, allocations: 0 / 346.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.01015, allocations: 0 / 346.9 MB, free: 1.902 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.001226/0.01138, allocations: 0.8085 MB / 347.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.01141, allocations: 8.031 kB / 347.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.01157, allocations: 88.56 kB / 347.8 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.01213, allocations: 410 kB / 348.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.01216, allocations: 29.03 kB / 348.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.01222, allocations: 32.38 kB / 348.3 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.01286, allocations: 467.6 kB / 348.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.01289, allocations: 7.938 kB / 348.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.01293, allocations: 12 kB / 348.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01294, allocations: 8 kB / 348.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.01359, allocations: 316 kB / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.01624, allocations: 1.62 MB / 350.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.01689, allocations: 220.3 kB / 350.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.01717, allocations: 150.4 kB / 351.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.01721, allocations: 8.125 kB / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004728/0.01768, allocations: 243.4 kB / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.01768, allocations: 0 / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001168/0.01885, allocations: 0.5461 MB / 351.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.01893, allocations: 85.05 kB / 351.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.01965, allocations: 0.494 MB / 352.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.01969, allocations: 33.7 kB / 352.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.01998, allocations: 288.2 kB / 352.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.02008, allocations: 91.27 kB / 352.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.02023, allocations: 89.62 kB / 352.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.02047, allocations: 366.8 kB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.02077, allocations: 146.1 kB / 353.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.02123, allocations: 324.8 kB / 353.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.02311, allocations: 0.7981 MB / 354.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.02311, allocations: 0 / 354.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001124/0.02424, allocations: 0.5977 MB / 355.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.02429, allocations: 38.23 kB / 355.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.0243, allocations: 12 kB / 355.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.02433, allocations: 7.984 kB / 355.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.02468, allocations: 83.84 kB / 355.3 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.0247, allocations: 11.98 kB / 355.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.02496, allocations: 47.72 kB / 355.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.025, allocations: 20 kB / 355.4 MB, free: 8.965 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.0003918/0.02539, allocations: 262.4 kB / 355.6 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.0255, allocations: 51.72 kB / 355.7 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/0.02647, allocations: 485.6 kB / 356.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.02648, allocations: 4 kB / 356.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.02649, allocations: 0 / 356.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.02649, allocations: 4 kB / 356.2 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.02697, allocations: 328.9 kB / 356.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02698, allocations: 0 / 356.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.02726, allocations: 43.97 kB / 356.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.02727, allocations: 4 kB / 356.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.02731, allocations: 12 kB / 356.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.02732, allocations: 0 / 356.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02732, allocations: 4 kB / 356.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.02861, allocations: 0.6805 MB / 357.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.02869, allocations: 51.59 kB / 357.3 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.02877, allocations: 16.06 kB / 357.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.02893, allocations: 11.98 kB / 357.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.02902, allocations: 19.97 kB / 357.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.02905, allocations: 15.98 kB / 357.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004748/0.02953, allocations: 338.9 kB / 357.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02953, allocations: 3.938 kB / 357.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004758/0.03, allocations: 119.7 kB / 357.8 MB, free: 6.453 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.002107/0.03211, allocations: 0.4894 MB / 358.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008799/0.03299, allocations: 446.4 kB / 358.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03299, allocations: 0 / 358.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.03339, allocations: 226.2 kB / 358.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.03387, allocations: 86.59 kB / 359 MB, free: 5.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.03549, allocations: 0.8992 MB / 359.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.03581, allocations: 259.7 kB / 360.2 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.03602, allocations: 71.23 kB / 360.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.03613, allocations: 36.5 kB / 360.3 MB, free: 4.047 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.03613, allocations: 0 / 360.3 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Templates: time 0.01269/0.04882, allocations: 4.695 MB / 365 MB, free: 15.39 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.439415000961162]