Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.000927/0.000927, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001025/0.001025, allocations: 181 kB / 23.36 MB, free: 1.129 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.03643/0.03643, allocations: 8.62 MB / 268.9 MB, free: 4.77 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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.689e-05, allocations: 2.312 kB / 288.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.1269/0.1269, allocations: 2.442 MB / 290.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1296, allocations: 1.666 MB / 292.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.1299, allocations: 22.81 kB / 292.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.1305, allocations: 224.6 kB / 292.4 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.131, allocations: 217 kB / 292.7 MB, free: 17.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009524/0.1319, allocations: 436.3 kB / 293.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.1326, allocations: 0.5898 MB / 293.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1328, allocations: 63.47 kB / 293.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.1331, allocations: 295.9 kB / 294 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.1335, allocations: 212.7 kB / 294.2 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.1335, allocations: 35.69 kB / 294.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.1339, allocations: 164.1 kB / 294.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.134, allocations: 151.5 kB / 294.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1342, allocations: 135.2 kB / 294.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.1348, allocations: 479.1 kB / 295.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1348, allocations: 0 / 295.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1348, allocations: 1.094 kB / 295.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1348, allocations: 0 / 295.2 MB, free: 16.97 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0008909/0.1357, allocations: 0.8125 MB / 296 MB, free: 16.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1357, allocations: 9.688 kB / 296 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1358, allocations: 64.3 kB / 296.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1362, allocations: 387.8 kB / 296.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1363, allocations: 28.28 kB / 296.5 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.1363, allocations: 42.66 kB / 296.5 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.1367, allocations: 370.9 kB / 296.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1367, allocations: 11.75 kB / 296.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1368, allocations: 16.41 kB / 296.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1368, allocations: 9.094 kB / 296.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.137, allocations: 158.3 kB / 297.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1383, allocations: 1.415 MB / 298.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1385, allocations: 194.6 kB / 298.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/0.1386, allocations: 77.69 kB / 298.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1387, allocations: 9.219 kB / 298.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1389, allocations: 200.5 kB / 299 MB, free: 14.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.1389, allocations: 5.312 kB / 299 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004294/0.1393, allocations: 309 kB / 299.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1394, allocations: 88.56 kB / 299.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.1398, allocations: 455.6 kB / 299.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1398, allocations: 33.34 kB / 299.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1399, allocations: 236.8 kB / 300.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.14, allocations: 124.8 kB / 300.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1401, allocations: 96.14 kB / 300.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.1402, allocations: 369.2 kB / 300.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1403, allocations: 80.48 kB / 300.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.1405, allocations: 266.5 kB / 301 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.1409, allocations: 458.4 kB / 301.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.1409, allocations: 1.969 kB / 301.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004861/0.1414, allocations: 375.7 kB / 301.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.1415, allocations: 41.44 kB / 301.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1415, allocations: 4.312 kB / 301.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1415, allocations: 12.94 kB / 301.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.1419, allocations: 130.5 kB / 302 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1419, allocations: 12.38 kB / 302 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1421, allocations: 56.02 kB / 302 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.1421, allocations: 18.97 kB / 302.1 MB, free: 12.32 MB / 266.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 62 * 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.0001767/0.1423, allocations: 213 kB / 302.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.1423, allocations: 42.06 kB / 302.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.1427, allocations: 303.6 kB / 302.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1427, allocations: 3.875 kB / 302.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1427, allocations: 0 / 302.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1427, allocations: 3.562 kB / 302.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1429, allocations: 228.5 kB / 302.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1429, allocations: 1.25 kB / 302.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.1432, allocations: 78 kB / 302.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1432, allocations: 3.547 kB / 302.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.1433, allocations: 21.09 kB / 302.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1433, allocations: 13.44 kB / 302.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1433, allocations: 0 / 302.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.1437, allocations: 407.7 kB / 303.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1437, allocations: 45.36 kB / 303.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.1438, allocations: 13.73 kB / 303.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.1438, allocations: 16.58 kB / 303.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.1439, allocations: 23.92 kB / 303.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1439, allocations: 9.172 kB / 303.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1441, allocations: 195.5 kB / 303.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1441, allocations: 0 / 303.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.1445, allocations: 131.8 kB / 303.8 MB, free: 11.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (31): * Single equations (assignments): 28 * 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.001282/0.1458, allocations: 0.5466 MB / 304.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.1462, allocations: 340.1 kB / 304.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.1462, allocations: 6.375 kB / 304.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1463, allocations: 188 kB / 304.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1467, allocations: 86.16 kB / 304.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1477, allocations: 0.9183 MB / 305.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1478, allocations: 145 kB / 306 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.1479, allocations: 59.17 kB / 306 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1481, allocations: 137.5 kB / 306.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1481, allocations: 0 / 306.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of Templates: time 0.009383/0.1575, allocations: 5.592 MB / 311.8 MB, free: 5.301 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.964586657937616]