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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 251 MB, free: 13 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.06571/0.06571, allocations: 11.33 MB / 317.6 MB, free: 13.71 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002066/0.002066, allocations: 67.89 kB / 443 MB, free: 6.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.126, allocations: 54.88 MB / 497.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004158/0.1301, allocations: 2.499 MB / 0.4887 GB, free: 12.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.133, allocations: 1.552 MB / 0.4902 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.1332, allocations: 19.81 kB / 0.4902 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.1341, allocations: 230.9 kB / 0.4904 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.1345, allocations: 163.3 kB / 0.4906 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1357, allocations: 473.4 kB / 0.491 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008187/0.1366, allocations: 0.6599 MB / 0.4917 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1367, allocations: 49.27 kB / 0.4917 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.137, allocations: 243.1 kB / 0.492 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.1374, allocations: 250.9 kB / 0.4922 GB, free: 9.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.1375, allocations: 32 kB / 0.4922 GB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.1379, allocations: 167.8 kB / 0.4924 GB, free: 9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.1381, allocations: 151.5 kB / 0.4925 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.1384, allocations: 210.6 kB / 0.4927 GB, free: 8.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000832/0.1392, allocations: 0.5483 MB / 0.4933 GB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1392, allocations: 4 kB / 0.4933 GB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1392, allocations: 0 / 0.4933 GB, free: 8.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.1393, allocations: 0 / 0.4933 GB, free: 8.09 MB / 366.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.001715/0.141, allocations: 0.828 MB / 0.4941 GB, free: 7.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.141, allocations: 8.031 kB / 0.4941 GB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1412, allocations: 64.56 kB / 0.4942 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.142, allocations: 391.6 kB / 0.4945 GB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1421, allocations: 80.61 kB / 0.4946 GB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.1422, allocations: 47.83 kB / 0.4947 GB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.143, allocations: 450.2 kB / 0.4951 GB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.143, allocations: 4 kB / 0.4951 GB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.1431, allocations: 15.98 kB / 0.4951 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1431, allocations: 8 kB / 0.4951 GB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.1437, allocations: 294.3 kB / 0.4954 GB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.1467, allocations: 1.81 MB / 0.4972 GB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.1472, allocations: 186.6 kB / 0.4973 GB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.1474, allocations: 112.8 kB / 0.4974 GB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.1475, allocations: 11.98 kB / 0.4975 GB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.1479, allocations: 211.2 kB / 0.4977 GB, free: 3.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/0.1479, allocations: 0 / 0.4977 GB, free: 3.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001078/0.149, allocations: 0.4942 MB / 0.4981 GB, free: 2.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.1491, allocations: 106.8 kB / 0.4982 GB, free: 2.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.1498, allocations: 0.5214 MB / 0.4988 GB, free: 2.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1498, allocations: 33.7 kB / 0.4988 GB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.1501, allocations: 276.3 kB / 0.499 GB, free: 1.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1502, allocations: 91.28 kB / 0.4991 GB, free: 1.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.1504, allocations: 90.02 kB / 0.4992 GB, free: 1.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1505, allocations: 362.8 kB / 0.4996 GB, free: 1.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1508, allocations: 124.7 kB / 0.4997 GB, free: 1.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.1512, allocations: 286.2 kB / 0.5 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.153, allocations: 0.8011 MB / 0.5007 GB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.153, allocations: 0 / 0.5007 GB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001008/0.154, allocations: 0.5568 MB / 0.5013 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.154, allocations: 41.62 kB / 0.5013 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.154, allocations: 4 kB / 0.5013 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.1541, allocations: 8 kB / 0.5013 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.1547, allocations: 96.45 kB / 0.5014 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.1547, allocations: 19.92 kB / 0.5014 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.155, allocations: 55.66 kB / 0.5015 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.155, allocations: 16 kB / 0.5015 GB, free: 15.16 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.0003814/0.1554, allocations: 242.4 kB / 0.5017 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.1555, allocations: 55.67 kB / 0.5018 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/0.1563, allocations: 456 kB / 0.5022 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1563, allocations: 4 kB / 0.5022 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1563, allocations: 0 / 0.5022 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1563, allocations: 7.922 kB / 0.5022 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1569, allocations: 420.3 kB / 0.5026 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1569, allocations: 4 kB / 0.5027 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.1575, allocations: 63.89 kB / 0.5027 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1575, allocations: 0 / 0.5027 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.1576, allocations: 12 kB / 0.5027 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1576, allocations: 3.984 kB / 0.5027 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1576, allocations: 0 / 0.5027 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1586, allocations: 0.6155 MB / 0.5033 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.1587, allocations: 47.64 kB / 0.5034 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.1588, allocations: 12 kB / 0.5034 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1589, allocations: 15.98 kB / 0.5034 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.159, allocations: 19.84 kB / 0.5034 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.159, allocations: 19.98 kB / 0.5034 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.1595, allocations: 358.8 kB / 0.5038 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1595, allocations: 0 / 0.5038 GB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.16, allocations: 119.8 kB / 0.5039 GB, free: 12.64 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.001613/0.1616, allocations: 449.3 kB / 0.5043 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.1623, allocations: 400.5 kB / 0.5047 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1623, allocations: 4.062 kB / 0.5047 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.1626, allocations: 195.3 kB / 0.5049 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.1631, allocations: 65.88 kB / 0.505 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1648, allocations: 0.9082 MB / 0.5058 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.1655, allocations: 0.8659 MB / 0.5067 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.1658, allocations: 79.28 kB / 0.5068 GB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1659, allocations: 35.44 kB / 0.5068 GB, free: 9.734 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1659, allocations: 0 / 0.5068 GB, free: 9.734 MB / 382.1 MB Notification: Performance of Templates: time 0.01325/0.1791, allocations: 5.037 MB / 0.5117 GB, free: 4.723 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: 5.246182851493359] Failed to read output from testmodel.py, exit status != 0: 0.1878499398007989 0.43360841999999994 0.29142423 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd0c8ba17b0>