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.001607/0.001607, allocations: 110.2 kB / 19.69 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.001521/0.001521, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.34 MB / 324.5 MB, free: 8.215 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.00199/0.00199, allocations: 67.88 kB / 452.3 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 56.06 MB / 0.4964 GB, free: 1.824 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.004213/0.1163, allocations: 2.489 MB / 0.4989 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.1197, allocations: 1.719 MB / 0.5006 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.12, allocations: 19.81 kB / 0.5006 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008609/0.1208, allocations: 225.3 kB / 0.5008 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.1214, allocations: 215 kB / 0.501 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1224, allocations: 426.9 kB / 0.5014 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.1233, allocations: 0.6685 MB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1234, allocations: 65.23 kB / 0.5021 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.1237, allocations: 243.1 kB / 0.5023 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.1241, allocations: 266.9 kB / 0.5026 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.1242, allocations: 32 kB / 0.5026 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1245, allocations: 167.8 kB / 0.5028 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.1247, allocations: 151.5 kB / 0.5029 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.1249, allocations: 230.5 kB / 0.5032 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.1256, allocations: 0.5795 MB / 0.5037 GB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1256, allocations: 0 / 0.5037 GB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1256, allocations: 0 / 0.5037 GB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1256, allocations: 4 kB / 0.5037 GB, free: 10.33 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.001562/0.1272, allocations: 0.8555 MB / 0.5046 GB, free: 9.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1272, allocations: 16.03 kB / 0.5046 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1274, allocations: 64.52 kB / 0.5046 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.1281, allocations: 407.8 kB / 0.505 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.1282, allocations: 29.38 kB / 0.5051 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.1282, allocations: 44.06 kB / 0.5051 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.1291, allocations: 480.2 kB / 0.5056 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.1291, allocations: 15.88 kB / 0.5056 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1291, allocations: 16 kB / 0.5056 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1292, allocations: 8 kB / 0.5056 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.1298, allocations: 330.3 kB / 0.5059 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.1326, allocations: 1.881 MB / 0.5077 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.1331, allocations: 226.9 kB / 0.508 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.1333, allocations: 133 kB / 0.5081 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.1333, allocations: 8.234 kB / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.1338, allocations: 252 kB / 0.5083 GB, free: 5.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.1338, allocations: 0 / 0.5083 GB, free: 5.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001043/0.1348, allocations: 0.5478 MB / 0.5089 GB, free: 4.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.1349, allocations: 110.8 kB / 0.509 GB, free: 4.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.1356, allocations: 0.5573 MB / 0.5095 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.1356, allocations: 33.7 kB / 0.5096 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.1359, allocations: 288.3 kB / 0.5098 GB, free: 3.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.136, allocations: 126.9 kB / 0.5099 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1361, allocations: 106.1 kB / 0.5101 GB, free: 3.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.1364, allocations: 366.8 kB / 0.5104 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.1366, allocations: 145 kB / 0.5105 GB, free: 3.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.1371, allocations: 329.9 kB / 0.5109 GB, free: 2.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.139, allocations: 0.9252 MB / 0.5118 GB, free: 1.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.139, allocations: 7.875 kB / 0.5118 GB, free: 1.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001106/0.1401, allocations: 0.6439 MB / 0.5124 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/0.1402, allocations: 43.88 kB / 0.5124 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1402, allocations: 8 kB / 0.5124 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1402, allocations: 8.656 kB / 0.5125 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.1407, allocations: 115.8 kB / 0.5126 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.1407, allocations: 11.94 kB / 0.5126 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.141, allocations: 63.56 kB / 0.5126 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.141, allocations: 31.98 kB / 0.5127 GB, free: 0.6914 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.000373/0.1414, allocations: 270.9 kB / 0.5129 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.1415, allocations: 55.62 kB / 0.513 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2367/0.3782, allocations: 495.8 kB / 0.5134 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3782, allocations: 4.062 kB / 0.5135 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3782, allocations: 0 / 0.5135 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3782, allocations: 2.812 kB / 0.5135 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.3788, allocations: 436 kB / 0.5139 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3788, allocations: 0.8438 kB / 0.5139 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.3792, allocations: 73.02 kB / 0.5139 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.3792, allocations: 2.031 kB / 0.5139 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.3793, allocations: 15.34 kB / 0.514 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3793, allocations: 3.469 kB / 0.514 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3793, allocations: 0 / 0.514 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.3802, allocations: 0.6716 MB / 0.5146 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.3803, allocations: 54.61 kB / 0.5147 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.3804, allocations: 14.25 kB / 0.5147 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3805, allocations: 18.89 kB / 0.5147 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.3806, allocations: 25.06 kB / 0.5147 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.3806, allocations: 12.2 kB / 0.5147 GB, free: 23.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.381, allocations: 382.8 kB / 0.5151 GB, free: 22.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.381, allocations: 3.469 kB / 0.5151 GB, free: 22.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.3815, allocations: 123.4 kB / 0.5152 GB, free: 22.93 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 (30): * Single equations (assignments): 27 * 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.001544/0.383, allocations: 472.4 kB / 0.5157 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.3837, allocations: 459.8 kB / 0.5161 GB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3837, allocations: 0 / 0.5161 GB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.384, allocations: 230.1 kB / 0.5163 GB, free: 22.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3844, allocations: 79.02 kB / 0.5164 GB, free: 22.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3856, allocations: 1.097 MB / 0.5175 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3859, allocations: 0.8771 MB / 0.5183 GB, free: 21.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.386, allocations: 44.19 kB / 0.5184 GB, free: 21.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.386, allocations: 0 / 0.5184 GB, free: 21.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01156/0.3976, allocations: 6.921 MB / 0.5251 GB, free: 20.82 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: 8.459525133948773] Failed to read output from testmodel.py, exit status != 0: 0.40557944402098656 0.41763993299999996 0.28941327599999994 Calling exit ...