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.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.001748/0.001748, 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.002209/0.002209, allocations: 187.8 kB / 22.22 MB, free: 5.164 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.517/1.517, 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.09854/0.09854, allocations: 11.34 MB / 317.6 MB, free: 13.74 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.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: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 443 MB, free: 6.371 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1277, allocations: 54.88 MB / 497.9 MB, free: 15.39 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.004883/0.1326, allocations: 2.5 MB / 0.4887 GB, free: 12.87 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003117/0.1357, allocations: 1.451 MB / 0.4901 GB, free: 11.41 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.1359, allocations: 19.81 kB / 0.4901 GB, free: 11.39 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008957/0.1368, allocations: 234.9 kB / 0.4903 GB, free: 11.16 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.1373, allocations: 159.3 kB / 0.4905 GB, free: 11 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1385, allocations: 434.3 kB / 0.4909 GB, free: 10.58 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008466/0.1393, allocations: 0.6131 MB / 0.4915 GB, free: 9.965 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1395, allocations: 61.23 kB / 0.4916 GB, free: 9.902 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.1398, allocations: 227.1 kB / 0.4918 GB, free: 9.68 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.1401, allocations: 242.9 kB / 0.492 GB, free: 9.441 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.1402, allocations: 32 kB / 0.492 GB, free: 9.41 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.1405, allocations: 155.8 kB / 0.4922 GB, free: 9.258 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.1406, allocations: 131.5 kB / 0.4923 GB, free: 9.129 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.1409, allocations: 218.5 kB / 0.4925 GB, free: 8.914 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.1416, allocations: 0.5367 MB / 0.4931 GB, free: 8.375 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1416, allocations: 3.938 kB / 0.4931 GB, free: 8.371 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.1416, allocations: 0 / 0.4931 GB, free: 8.371 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 8.385e-06/0.1416, allocations: 0 / 0.4931 GB, free: 8.371 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.001432/0.143, allocations: 0.8163 MB / 0.4939 GB, free: 7.512 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1431, allocations: 12.03 kB / 0.4939 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.1432, allocations: 60.56 kB / 0.4939 GB, free: 7.441 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007424/0.1439, allocations: 383.5 kB / 0.4943 GB, free: 7.039 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.144, allocations: 25.03 kB / 0.4943 GB, free: 7.016 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.144, allocations: 44.02 kB / 0.4944 GB, free: 6.973 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/0.1448, allocations: 442.2 kB / 0.4948 GB, free: 6.5 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1448, allocations: 3.984 kB / 0.4948 GB, free: 6.496 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.1449, allocations: 16 kB / 0.4948 GB, free: 6.48 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.1449, allocations: 8 kB / 0.4948 GB, free: 6.473 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.1454, allocations: 282.3 kB / 0.4951 GB, free: 6.195 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.148, allocations: 1.736 MB / 0.4968 GB, free: 4.371 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.1486, allocations: 194.5 kB / 0.497 GB, free: 4.172 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.1488, allocations: 108.8 kB / 0.4971 GB, free: 4.062 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1489, allocations: 3.984 kB / 0.4971 GB, free: 4.059 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.1493, allocations: 213.6 kB / 0.4973 GB, free: 3.828 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=28): time 2.986e-06/0.1493, allocations: 3.938 kB / 0.4973 GB, free: 3.824 MB / 366.1 MB
Notification: Performance of matching and sorting (n=28): time 0.001071/0.1504, allocations: 493.5 kB / 0.4977 GB, free: 3.336 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.1505, allocations: 106.8 kB / 0.4978 GB, free: 3.207 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.1513, allocations: 0.5175 MB / 0.4983 GB, free: 2.676 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1513, allocations: 29.7 kB / 0.4984 GB, free: 2.641 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.1516, allocations: 284.3 kB / 0.4986 GB, free: 2.359 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1517, allocations: 103.2 kB / 0.4987 GB, free: 2.258 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.1518, allocations: 85.69 kB / 0.4988 GB, free: 2.168 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002059/0.152, allocations: 366.9 kB / 0.4992 GB, free: 1.801 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.1523, allocations: 116.4 kB / 0.4993 GB, free: 1.688 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1527, allocations: 271.6 kB / 0.4995 GB, free: 1.355 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.1544, allocations: 0.7698 MB / 0.5003 GB, free: 0.5 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1544, allocations: 0 / 0.5003 GB, free: 0.5 MB / 366.1 MB
Notification: Performance of matching and sorting (n=55) (initialization): time 0.001053/0.1555, allocations: 0.5334 MB / 0.5008 GB, free: 15.95 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.1555, allocations: 44.33 kB / 0.5009 GB, free: 15.91 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1556, allocations: 4 kB / 0.5009 GB, free: 15.9 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.1556, allocations: 12 kB / 0.5009 GB, free: 15.89 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1559, allocations: 79.83 kB / 0.501 GB, free: 15.81 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/0.1559, allocations: 19.86 kB / 0.501 GB, free: 15.79 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.1562, allocations: 59.61 kB / 0.501 GB, free: 15.73 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.1563, allocations: 20 kB / 0.501 GB, free: 15.71 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.0004164/0.1567, allocations: 242.4 kB / 0.5013 GB, free: 15.46 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.1568, allocations: 51.67 kB / 0.5013 GB, free: 15.41 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/0.1577, allocations: 436.1 kB / 0.5017 GB, free: 14.98 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.1577, allocations: 7.984 kB / 0.5017 GB, free: 14.97 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1577, allocations: 7.938 kB / 0.5018 GB, free: 14.96 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1577, allocations: 0 / 0.5018 GB, free: 14.96 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.1583, allocations: 404.3 kB / 0.5021 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1583, allocations: 0 / 0.5021 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.1585, allocations: 51.91 kB / 0.5022 GB, free: 14.47 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1585, allocations: 0 / 0.5022 GB, free: 14.47 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.1586, allocations: 12 kB / 0.5022 GB, free: 14.46 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1586, allocations: 0 / 0.5022 GB, free: 14.46 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1586, allocations: 3.938 kB / 0.5022 GB, free: 14.46 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1596, allocations: 0.6007 MB / 0.5028 GB, free: 13.83 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.011e-05/0.1597, allocations: 55.66 kB / 0.5028 GB, free: 13.78 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1598, allocations: 11.98 kB / 0.5029 GB, free: 13.77 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1599, allocations: 15.98 kB / 0.5029 GB, free: 13.75 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.16, allocations: 19.91 kB / 0.5029 GB, free: 13.73 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.16, allocations: 12 kB / 0.5029 GB, free: 13.72 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0004552/0.1605, allocations: 362.8 kB / 0.5032 GB, free: 13.37 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1605, allocations: 4 kB / 0.5033 GB, free: 13.36 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0004406/0.1609, allocations: 111.8 kB / 0.5034 GB, free: 13.25 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 (25):
 * Single equations (assignments): 22
 * 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.001601/0.1625, allocations: 450.6 kB / 0.5038 GB, free: 12.96 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.00072/0.1632, allocations: 387.9 kB / 0.5042 GB, free: 12.57 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1632, allocations: 0 / 0.5042 GB, free: 12.57 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.1635, allocations: 191.3 kB / 0.5043 GB, free: 12.38 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.164, allocations: 66.8 kB / 0.5044 GB, free: 12.31 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1655, allocations: 0.8718 MB / 0.5053 GB, free: 11.41 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.166, allocations: 0.8623 MB / 0.5061 GB, free: 10.52 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002054/0.1662, allocations: 75.25 kB / 0.5062 GB, free: 10.45 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.1663, allocations: 39.36 kB / 0.5062 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1663, allocations: 0 / 0.5062 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of Templates: time 0.01137/0.1777, allocations: 4.971 MB / 0.5111 GB, free: 5.461 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: 5.295256611891091]
Failed to read output from testmodel.py, exit status != 0:
0.18601765297353268 0.43838272300000003 0.29362106000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f387c9217b0>