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.0008485/0.0008485, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0008822/0.0008822, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9272/0.9272, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.0362/0.0362, allocations: 8.627 MB / 268.9 MB, free: 4.785 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.252e-06/1.252e-06, allocations: 0 / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.567e-05, allocations: 9.828 kB / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.09788/0.0979, allocations: 2.413 MB / 290.5 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.09992, allocations: 1.67 MB / 292.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1001, allocations: 23.31 kB / 292.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006176/0.1007, allocations: 223.9 kB / 292.4 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.1011, allocations: 218.3 kB / 292.6 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.102, allocations: 457.6 kB / 293.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.1025, allocations: 0.5811 MB / 293.6 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1027, allocations: 66.97 kB / 293.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.103, allocations: 293.8 kB / 294 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1032, allocations: 202.4 kB / 294.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1033, allocations: 33.03 kB / 294.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.1035, allocations: 151.8 kB / 294.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1036, allocations: 145.3 kB / 294.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1037, allocations: 127.9 kB / 294.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.1042, allocations: 456.1 kB / 295.1 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1042, allocations: 0 / 295.1 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1042, allocations: 0 / 295.1 MB, free: 17.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1042, allocations: 3.156 kB / 295.1 MB, free: 17.24 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.0008322/0.105, allocations: 0.7934 MB / 295.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1051, allocations: 9.281 kB / 295.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.1052, allocations: 64.11 kB / 295.9 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.1056, allocations: 370 kB / 296.3 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.1056, allocations: 79.05 kB / 296.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.1056, allocations: 40.69 kB / 296.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.106, allocations: 361.1 kB / 296.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.106, allocations: 1.641 kB / 296.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.106, allocations: 13.5 kB / 296.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.106, allocations: 9.469 kB / 296.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.1062, allocations: 151.4 kB / 296.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1073, allocations: 1.386 MB / 298.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1075, allocations: 175.2 kB / 298.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.1075, allocations: 72.25 kB / 298.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1075, allocations: 6.031 kB / 298.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1077, allocations: 184.3 kB / 298.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.1077, allocations: 1.125 kB / 298.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002877/0.108, allocations: 283.4 kB / 299 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.108, allocations: 86.95 kB / 299.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1083, allocations: 435.3 kB / 299.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1083, allocations: 31.8 kB / 299.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.1084, allocations: 229.9 kB / 299.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.1084, allocations: 103.2 kB / 299.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.1085, allocations: 87 kB / 300 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.1086, allocations: 366.5 kB / 300.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.1086, allocations: 74.14 kB / 300.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1087, allocations: 241.6 kB / 300.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.109, allocations: 411.4 kB / 301.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.109, allocations: 0.9062 kB / 301.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002975/0.1093, allocations: 335.9 kB / 301.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.1094, allocations: 46.22 kB / 301.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1094, allocations: 4.688 kB / 301.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1094, allocations: 7.719 kB / 301.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.1096, allocations: 96.98 kB / 301.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1096, allocations: 7.922 kB / 301.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1098, allocations: 42.8 kB / 301.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1098, allocations: 19.12 kB / 301.6 MB, free: 12.68 MB / 266.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 (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.0001378/0.1099, allocations: 197.9 kB / 301.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.11, allocations: 39.92 kB / 301.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1102, allocations: 275 kB / 302.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1102, allocations: 3.219 kB / 302.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.1102, allocations: 6.812 kB / 302.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1102, allocations: 1.359 kB / 302.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1104, allocations: 218.3 kB / 302.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1104, allocations: 0 / 302.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.1107, allocations: 54.58 kB / 302.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1107, allocations: 1.781 kB / 302.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1107, allocations: 11.41 kB / 302.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1107, allocations: 14.62 kB / 302.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1107, allocations: 0 / 302.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.111, allocations: 366.5 kB / 302.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.111, allocations: 46.75 kB / 302.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.1111, allocations: 13.44 kB / 302.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.1111, allocations: 13.16 kB / 302.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1112, allocations: 19.33 kB / 302.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1112, allocations: 7.562 kB / 302.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1113, allocations: 184.7 kB / 303 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1113, allocations: 0 / 303 MB, free: 11.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.1116, allocations: 118.4 kB / 303.2 MB, free: 11.89 MB / 266.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.001087/0.1127, allocations: 0.5579 MB / 303.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.113, allocations: 312.6 kB / 304 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.113, allocations: 5.281 kB / 304 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1131, allocations: 167.7 kB / 304.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1133, allocations: 86.67 kB / 304.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.1141, allocations: 0.8233 MB / 305.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.3e-05/0.1141, allocations: 139.8 kB / 305.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1142, allocations: 51.69 kB / 305.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1144, allocations: 125.4 kB / 305.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1144, allocations: 0 / 305.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Templates: time 0.006824/0.1212, allocations: 5.142 MB / 310.6 MB, free: 6.664 MB / 266.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.6445062556304038]