Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001684/0.001684, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001738/0.001738, allocations: 216.2 kB / 22.99 MB, free: 4.945 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06481/0.06481, allocations: 11.34 MB / 324.5 MB, free: 8.047 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.002102/0.002102, allocations: 67.89 kB / 452.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1177, allocations: 56.07 MB / 0.4964 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.004443/0.1221, allocations: 2.361 MB / 0.4987 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.1252, allocations: 1.509 MB / 0.5002 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.1254, allocations: 19.81 kB / 0.5002 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.1262, allocations: 234.9 kB / 0.5004 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.1267, allocations: 199.1 kB / 0.5006 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.1276, allocations: 397.5 kB / 0.501 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008893/0.1285, allocations: 0.6093 MB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1287, allocations: 57.23 kB / 0.5016 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.129, allocations: 227.1 kB / 0.5018 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.1294, allocations: 246.8 kB / 0.5021 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.1295, allocations: 32 kB / 0.5021 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1297, allocations: 139.9 kB / 0.5022 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.1299, allocations: 151.4 kB / 0.5024 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1301, allocations: 162.9 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.1308, allocations: 0.5523 MB / 0.5031 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1308, allocations: 0 / 0.5031 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1308, allocations: 0 / 0.5031 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1308, allocations: 0 / 0.5031 GB, free: 10.76 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.001457/0.1323, allocations: 0.8163 MB / 0.5039 GB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1323, allocations: 16.03 kB / 0.5039 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1324, allocations: 64.52 kB / 0.5039 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.1331, allocations: 378.9 kB / 0.5043 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.1332, allocations: 25.03 kB / 0.5043 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.1332, allocations: 36.12 kB / 0.5044 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.134, allocations: 467 kB / 0.5048 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.134, allocations: 0 / 0.5048 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.134, allocations: 15.94 kB / 0.5048 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.134, allocations: 8 kB / 0.5048 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.1346, allocations: 320 kB / 0.5051 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.1372, allocations: 1.62 MB / 0.5067 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.1378, allocations: 232.3 kB / 0.5069 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.138, allocations: 138.5 kB / 0.5071 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1381, allocations: 4 kB / 0.5071 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1385, allocations: 247.2 kB / 0.5073 GB, free: 6.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.005e-06/0.1385, allocations: 0 / 0.5073 GB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001027/0.1395, allocations: 0.5398 MB / 0.5078 GB, free: 5.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1396, allocations: 89.11 kB / 0.5079 GB, free: 5.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.1403, allocations: 0.4978 MB / 0.5084 GB, free: 4.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.1403, allocations: 29.7 kB / 0.5084 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.1406, allocations: 288.2 kB / 0.5087 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1407, allocations: 99.27 kB / 0.5088 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1408, allocations: 93.59 kB / 0.5089 GB, free: 4.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.141, allocations: 366.7 kB / 0.5092 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.1413, allocations: 150.1 kB / 0.5094 GB, free: 3.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.1417, allocations: 324.2 kB / 0.5097 GB, free: 3.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.1434, allocations: 0.7856 MB / 0.5105 GB, free: 2.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1434, allocations: 4 kB / 0.5105 GB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001052/0.1445, allocations: 0.5669 MB / 0.511 GB, free: 2.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.1445, allocations: 41.69 kB / 0.5111 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1445, allocations: 4 kB / 0.5111 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1446, allocations: 7.938 kB / 0.5111 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.1449, allocations: 83.89 kB / 0.5112 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.1449, allocations: 11.94 kB / 0.5112 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.1451, allocations: 55.59 kB / 0.5112 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.1452, allocations: 27.98 kB / 0.5112 GB, free: 1.867 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 (50): * Single equations (assignments): 49 * 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.0003399/0.1455, allocations: 246.5 kB / 0.5115 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.1456, allocations: 51.67 kB / 0.5115 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008577/0.1464, allocations: 470 kB / 0.512 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1464, allocations: 12 kB / 0.512 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1464, allocations: 0 / 0.512 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1465, allocations: 7.922 kB / 0.512 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1469, allocations: 325 kB / 0.5123 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1469, allocations: 0 / 0.5123 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1471, allocations: 55.91 kB / 0.5124 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1471, allocations: 0 / 0.5124 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.1472, allocations: 15.98 kB / 0.5124 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1472, allocations: 0 / 0.5124 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1472, allocations: 0 / 0.5124 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1929/0.34, allocations: 0.6706 MB / 0.513 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3401, allocations: 50.84 kB / 0.5131 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.3402, allocations: 8.969 kB / 0.5131 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3404, allocations: 14.19 kB / 0.5131 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3405, allocations: 23.58 kB / 0.5131 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.3405, allocations: 10.81 kB / 0.5131 GB, free: 23.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.3408, allocations: 344.7 kB / 0.5135 GB, free: 23.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3408, allocations: 0 / 0.5135 GB, free: 23.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.3413, allocations: 115.7 kB / 0.5136 GB, free: 23.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (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 (26): * Single equations (assignments): 23 * 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.001569/0.3429, allocations: 482.8 kB / 0.514 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3435, allocations: 452.8 kB / 0.5145 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3435, allocations: 0 / 0.5145 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.3438, allocations: 227.3 kB / 0.5147 GB, free: 23.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3442, allocations: 74.77 kB / 0.5148 GB, free: 23.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3453, allocations: 0.9573 MB / 0.5157 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3455, allocations: 265 kB / 0.5159 GB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.3456, allocations: 37.36 kB / 0.516 GB, free: 22.45 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3456, allocations: 0 / 0.516 GB, free: 22.45 MB / 382.1 MB Notification: Performance of Templates: time 0.01031/0.3559, allocations: 6.36 MB / 0.5222 GB, free: 21.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.078442234080285] Failed to read output from testmodel.py, exit status != 0: 0.36417522095143795 0.37469418099999996 0.24149589299999996 Calling exit ...