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.001633/0.001633, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002121/0.002121, allocations: 214.6 kB / 22.25 MB, free: 4.855 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.797 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.06802/0.06802, allocations: 11.35 MB / 323.8 MB, free: 8.031 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.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: 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.002394/0.002394, allocations: 67.89 kB / 451.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1406, allocations: 56.07 MB / 0.4956 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.004824/0.1454, allocations: 2.339 MB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.1491, allocations: 1.598 MB / 0.4995 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.1495, allocations: 19.81 kB / 0.4995 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009513/0.1505, allocations: 223 kB / 0.4997 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007061/0.1512, allocations: 211 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1524, allocations: 429.5 kB / 0.5003 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.1534, allocations: 0.6646 MB / 0.501 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.1537, allocations: 61.23 kB / 0.501 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.1541, allocations: 239.1 kB / 0.5013 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.1545, allocations: 258.8 kB / 0.5015 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.1546, allocations: 32 kB / 0.5015 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.1549, allocations: 159.8 kB / 0.5017 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.1552, allocations: 147.5 kB / 0.5018 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.1554, allocations: 178.9 kB / 0.502 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.1562, allocations: 0.5872 MB / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1562, allocations: 4 kB / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1562, allocations: 7.938 kB / 0.5026 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1563, allocations: 0 / 0.5026 GB, free: 10.51 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001699/0.158, allocations: 0.8594 MB / 0.5034 GB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.158, allocations: 12.03 kB / 0.5034 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1581, allocations: 68.52 kB / 0.5035 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.1589, allocations: 398.9 kB / 0.5039 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.159, allocations: 25.38 kB / 0.5039 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.1591, allocations: 44.12 kB / 0.5039 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008958/0.16, allocations: 0.4971 MB / 0.5044 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.16, allocations: 7.953 kB / 0.5044 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.16, allocations: 19.94 kB / 0.5045 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1601, allocations: 8 kB / 0.5045 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.1608, allocations: 360 kB / 0.5048 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.1638, allocations: 1.765 MB / 0.5065 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1643, allocations: 252.7 kB / 0.5068 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.1646, allocations: 166.7 kB / 0.5069 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.1646, allocations: 8.172 kB / 0.5069 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.1651, allocations: 277.8 kB / 0.5072 GB, free: 5.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/0.1651, allocations: 0 / 0.5072 GB, free: 5.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001235/0.1664, allocations: 0.6175 MB / 0.5078 GB, free: 4.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.1664, allocations: 89.11 kB / 0.5079 GB, free: 4.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/0.1671, allocations: 0.5291 MB / 0.5084 GB, free: 4.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1672, allocations: 33.7 kB / 0.5084 GB, free: 4.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.1674, allocations: 288.5 kB / 0.5087 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1676, allocations: 123 kB / 0.5088 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.1677, allocations: 114.1 kB / 0.5089 GB, free: 3.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1679, allocations: 366.8 kB / 0.5093 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.1683, allocations: 174.7 kB / 0.5095 GB, free: 3.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.1687, allocations: 381.3 kB / 0.5098 GB, free: 2.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.1708, allocations: 0.9292 MB / 0.5107 GB, free: 1.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.1708, allocations: 4 kB / 0.5107 GB, free: 1.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001266/0.1721, allocations: 0.6929 MB / 0.5114 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.1721, allocations: 40.03 kB / 0.5114 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1721, allocations: 12.06 kB / 0.5115 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.1722, allocations: 8 kB / 0.5115 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.1726, allocations: 115.8 kB / 0.5116 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.1726, allocations: 15.97 kB / 0.5116 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.1729, allocations: 63.55 kB / 0.5117 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.173, allocations: 24 kB / 0.5117 GB, free: 0.6758 MB / 382.1 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.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 (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.0003738/0.1734, allocations: 270.9 kB / 0.5119 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.1734, allocations: 63.56 kB / 0.512 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2652/0.4386, allocations: 0.5225 MB / 0.5125 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4386, allocations: 3.281 kB / 0.5125 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4386, allocations: 0 / 0.5125 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4387, allocations: 2.203 kB / 0.5125 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.4391, allocations: 343.3 kB / 0.5128 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4391, allocations: 0.9375 kB / 0.5128 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.4396, allocations: 74.52 kB / 0.5129 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4396, allocations: 0.5625 kB / 0.5129 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.4396, allocations: 16.17 kB / 0.5129 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4396, allocations: 3.406 kB / 0.5129 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4396, allocations: 0.5312 kB / 0.5129 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.4406, allocations: 0.7464 MB / 0.5137 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.4407, allocations: 55.8 kB / 0.5137 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/0.4407, allocations: 20.19 kB / 0.5137 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.4409, allocations: 13.5 kB / 0.5137 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.441, allocations: 22.14 kB / 0.5138 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.441, allocations: 17.44 kB / 0.5138 GB, free: 23.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.4413, allocations: 357.9 kB / 0.5141 GB, free: 22.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4413, allocations: 1.25 kB / 0.5141 GB, free: 22.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.4418, allocations: 122.8 kB / 0.5142 GB, free: 22.95 MB / 382.1 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.001686/0.4435, allocations: 492.6 kB / 0.5147 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007648/0.4443, allocations: 0.5247 MB / 0.5152 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4443, allocations: 0.875 kB / 0.5152 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.4445, allocations: 252.4 kB / 0.5155 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.445, allocations: 82.64 kB / 0.5155 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.4462, allocations: 1.085 MB / 0.5166 GB, free: 22.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4464, allocations: 285.1 kB / 0.5169 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.4467, allocations: 94.61 kB / 0.517 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.4467, allocations: 44.47 kB / 0.517 GB, free: 21.97 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4467, allocations: 0 / 0.517 GB, free: 21.97 MB / 382.1 MB Notification: Performance of Templates: time 0.01211/0.4589, allocations: 5.521 MB / 0.5224 GB, free: 21.41 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.351654896512628] Failed to read output from testmodel.py, exit status != 0: 0.468562051653862 0.48042703999999997 0.32137932299999994 Calling exit ...