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.001686/0.001686, 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.001853/0.001853, allocations: 223.7 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.0647/0.0647, allocations: 11.35 MB / 324.5 MB, free: 8.273 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.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: 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.002145/0.002145, allocations: 63.89 kB / 452.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1109, allocations: 56.06 MB / 0.4964 GB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004523/0.1154, allocations: 2.521 MB / 0.4989 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.1187, allocations: 1.712 MB / 0.5006 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.1191, allocations: 23.75 kB / 0.5006 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009298/0.1201, allocations: 227 kB / 0.5008 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.1208, allocations: 219 kB / 0.501 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.122, allocations: 434.4 kB / 0.5014 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.123, allocations: 0.6561 MB / 0.5021 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1232, allocations: 65.23 kB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.1236, allocations: 243 kB / 0.5024 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1241, allocations: 258.9 kB / 0.5026 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/0.1242, allocations: 32 kB / 0.5026 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.1245, allocations: 163.8 kB / 0.5028 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1247, allocations: 147.5 kB / 0.5029 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.125, allocations: 214.6 kB / 0.5031 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.1258, allocations: 0.5445 MB / 0.5037 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1258, allocations: 0 / 0.5037 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1259, allocations: 7.938 kB / 0.5037 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.1259, allocations: 0 / 0.5037 GB, free: 10.46 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.001836/0.1277, allocations: 0.8397 MB / 0.5045 GB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1278, allocations: 8.031 kB / 0.5045 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.1279, allocations: 68.52 kB / 0.5046 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.1287, allocations: 387.5 kB / 0.505 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.1288, allocations: 80.62 kB / 0.505 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.1289, allocations: 43.92 kB / 0.5051 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.1296, allocations: 450.2 kB / 0.5055 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1297, allocations: 3.938 kB / 0.5055 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1297, allocations: 16 kB / 0.5055 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1297, allocations: 12 kB / 0.5055 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.1302, allocations: 286.3 kB / 0.5058 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.133, allocations: 1.83 MB / 0.5076 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.1335, allocations: 194.5 kB / 0.5078 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1337, allocations: 116.8 kB / 0.5079 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1337, allocations: 3.984 kB / 0.5079 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.1341, allocations: 221.6 kB / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.1341, allocations: 0 / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009674/0.1351, allocations: 493.6 kB / 0.5086 GB, free: 5.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.1352, allocations: 106.8 kB / 0.5087 GB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.1358, allocations: 0.5253 MB / 0.5092 GB, free: 4.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1359, allocations: 33.7 kB / 0.5092 GB, free: 4.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1361, allocations: 276.3 kB / 0.5095 GB, free: 4.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.1362, allocations: 103.2 kB / 0.5096 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.1363, allocations: 90.05 kB / 0.5097 GB, free: 4.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1365, allocations: 370.7 kB / 0.51 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.1367, allocations: 112.8 kB / 0.5101 GB, free: 3.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1371, allocations: 285.1 kB / 0.5104 GB, free: 3.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.1388, allocations: 0.7977 MB / 0.5112 GB, free: 2.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1388, allocations: 4 kB / 0.5112 GB, free: 2.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009742/0.1398, allocations: 0.538 MB / 0.5117 GB, free: 1.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.1398, allocations: 45.72 kB / 0.5118 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1398, allocations: 4 kB / 0.5118 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1399, allocations: 8 kB / 0.5118 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.1404, allocations: 99.81 kB / 0.5119 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.1405, allocations: 11.94 kB / 0.5119 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.1407, allocations: 55.67 kB / 0.5119 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.1408, allocations: 23.94 kB / 0.5119 GB, free: 1.512 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 (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.0003756/0.1411, allocations: 254.3 kB / 0.5122 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1412, allocations: 55.66 kB / 0.5122 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000866/0.1421, allocations: 453.7 kB / 0.5127 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1421, allocations: 4 kB / 0.5127 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1421, allocations: 3.938 kB / 0.5127 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1421, allocations: 3.938 kB / 0.5127 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.1427, allocations: 420.3 kB / 0.5131 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1427, allocations: 0 / 0.5131 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.1432, allocations: 67.89 kB / 0.5132 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1432, allocations: 0 / 0.5132 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.1433, allocations: 12 kB / 0.5132 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1433, allocations: 4 kB / 0.5132 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1433, allocations: 0 / 0.5132 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.238/0.3813, allocations: 0.5895 MB / 0.5137 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.3814, allocations: 52.66 kB / 0.5138 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.3814, allocations: 16.62 kB / 0.5138 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3816, allocations: 11.64 kB / 0.5138 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.3817, allocations: 24.8 kB / 0.5138 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.3817, allocations: 8.547 kB / 0.5139 GB, free: 23.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.3821, allocations: 371 kB / 0.5142 GB, free: 23.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3821, allocations: 0 / 0.5142 GB, free: 23.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004854/0.3826, allocations: 116.1 kB / 0.5143 GB, free: 23.18 MB / 382.1 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 (24): * Single equations (assignments): 21 * 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.001591/0.3842, allocations: 449.9 kB / 0.5147 GB, free: 23.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006885/0.3849, allocations: 403 kB / 0.5151 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3849, allocations: 0.5469 kB / 0.5151 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.3851, allocations: 198.8 kB / 0.5153 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3855, allocations: 74 kB / 0.5154 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3869, allocations: 0.9656 MB / 0.5163 GB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3871, allocations: 0.8641 MB / 0.5172 GB, free: 21.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3872, allocations: 48.17 kB / 0.5172 GB, free: 21.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3872, allocations: 0 / 0.5172 GB, free: 21.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01107/0.3983, allocations: 6.404 MB / 0.5235 GB, free: 21.21 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.209574988111854] Failed to read output from testmodel.py, exit status != 0: 0.40735559398308396 0.419963 0.29136713099999995 Calling exit ...