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.001328/0.001328, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001491/0.001491, allocations: 217.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 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.06555/0.06555, allocations: 11.34 MB / 324.5 MB, free: 8.211 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 452.3 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 56.07 MB / 0.4964 GB, free: 1.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.004532/0.1118, allocations: 2.522 MB / 0.4989 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.1154, allocations: 1.606 MB / 0.5005 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.1157, allocations: 19.75 kB / 0.5005 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.1166, allocations: 234.9 kB / 0.5007 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005977/0.1172, allocations: 215 kB / 0.5009 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1183, allocations: 387.1 kB / 0.5013 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.1192, allocations: 0.6209 MB / 0.5019 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1194, allocations: 61.25 kB / 0.502 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1198, allocations: 235.1 kB / 0.5022 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.1203, allocations: 235 kB / 0.5024 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.1203, allocations: 32 kB / 0.5024 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1207, allocations: 163.8 kB / 0.5026 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.1209, allocations: 139.5 kB / 0.5027 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.1211, allocations: 214.6 kB / 0.5029 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.122, allocations: 0.5405 MB / 0.5035 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.122, allocations: 8 kB / 0.5035 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.122, allocations: 0 / 0.5035 GB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.122, allocations: 0 / 0.5035 GB, free: 10.59 MB / 382.1 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.001543/0.1235, allocations: 0.8124 MB / 0.5043 GB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1236, allocations: 8.031 kB / 0.5043 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1237, allocations: 64.52 kB / 0.5043 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007359/0.1244, allocations: 399.5 kB / 0.5047 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.1245, allocations: 21.03 kB / 0.5047 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.1245, allocations: 44.06 kB / 0.5048 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.1253, allocations: 442.2 kB / 0.5052 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1253, allocations: 0 / 0.5052 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.1253, allocations: 16 kB / 0.5052 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1254, allocations: 8 kB / 0.5052 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.1259, allocations: 278.3 kB / 0.5055 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.1282, allocations: 1.736 MB / 0.5072 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.1288, allocations: 190.5 kB / 0.5074 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.129, allocations: 120.7 kB / 0.5075 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.129, allocations: 3.984 kB / 0.5075 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.1294, allocations: 223.2 kB / 0.5077 GB, free: 6.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.1294, allocations: 0 / 0.5077 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009122/0.1303, allocations: 477.3 kB / 0.5081 GB, free: 5.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.1304, allocations: 110.8 kB / 0.5083 GB, free: 5.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.131, allocations: 0.5254 MB / 0.5088 GB, free: 4.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.131, allocations: 37.64 kB / 0.5088 GB, free: 4.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1313, allocations: 284.2 kB / 0.5091 GB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.1313, allocations: 91.28 kB / 0.5092 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1315, allocations: 93.59 kB / 0.5093 GB, free: 4.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1317, allocations: 370.8 kB / 0.5096 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1319, allocations: 116.4 kB / 0.5097 GB, free: 3.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.1323, allocations: 273.8 kB / 0.51 GB, free: 3.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.1339, allocations: 0.7738 MB / 0.5107 GB, free: 2.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1339, allocations: 0 / 0.5107 GB, free: 2.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009016/0.1348, allocations: 0.5338 MB / 0.5113 GB, free: 2.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.1348, allocations: 33.7 kB / 0.5113 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1348, allocations: 8 kB / 0.5113 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1348, allocations: 4 kB / 0.5113 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.1351, allocations: 87.83 kB / 0.5114 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.1352, allocations: 19.86 kB / 0.5114 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.1354, allocations: 51.72 kB / 0.5114 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.1354, allocations: 16.28 kB / 0.5115 GB, free: 1.922 MB / 382.1 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.000324/0.1358, allocations: 242.4 kB / 0.5117 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.1359, allocations: 59.62 kB / 0.5118 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.1367, allocations: 448.4 kB / 0.5122 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1367, allocations: 4 kB / 0.5122 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1367, allocations: 3.938 kB / 0.5122 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1367, allocations: 0 / 0.5122 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.1371, allocations: 408.3 kB / 0.5126 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1371, allocations: 0 / 0.5126 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1374, allocations: 47.91 kB / 0.5126 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1374, allocations: 0 / 0.5126 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.1374, allocations: 15.98 kB / 0.5126 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1374, allocations: 7.984 kB / 0.5126 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1374, allocations: 7.875 kB / 0.5127 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.1384, allocations: 0.5922 MB / 0.5132 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2339/0.3724, allocations: 45.34 kB / 0.5133 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.3725, allocations: 10.44 kB / 0.5133 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3727, allocations: 12.86 kB / 0.5133 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3728, allocations: 27.28 kB / 0.5133 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.3729, allocations: 13.66 kB / 0.5133 GB, free: 23.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000442/0.3733, allocations: 363.6 kB / 0.5137 GB, free: 23.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 2.25 kB / 0.5137 GB, free: 23.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005422/0.3739, allocations: 112.6 kB / 0.5138 GB, free: 23.29 MB / 382.1 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 (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.001589/0.3754, allocations: 455.1 kB / 0.5142 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.3761, allocations: 390 kB / 0.5146 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3761, allocations: 0 / 0.5146 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.3764, allocations: 196.9 kB / 0.5148 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3768, allocations: 82.91 kB / 0.5149 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3782, allocations: 0.915 MB / 0.5158 GB, free: 22.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3786, allocations: 0.8672 MB / 0.5166 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.3787, allocations: 36.28 kB / 0.5166 GB, free: 21.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3787, allocations: 0 / 0.5166 GB, free: 21.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01138/0.39, allocations: 6.316 MB / 0.5228 GB, free: 21.34 MB / 382.1 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: 8.205091304844245] Failed to read output from testmodel.py, exit status != 0: 0.3987714550457895 0.41171190500000004 0.286851481 Calling exit ...