Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.001489/0.001489, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001907/0.001907, allocations: 191 kB / 22.23 MB, free: 5.105 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.03 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.06508/0.06508, allocations: 11.34 MB / 317.6 MB, free: 13.88 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.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking")
translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 443 MB, free: 6.516 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 54.88 MB / 497.9 MB, free: 15.53 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.004443/0.1335, allocations: 2.48 MB / 0.4887 GB, free: 13.03 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003066/0.1366, allocations: 1.556 MB / 0.4902 GB, free: 11.46 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.1368, allocations: 23.75 kB / 0.4902 GB, free: 11.44 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.1376, allocations: 231 kB / 0.4904 GB, free: 11.21 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000394/0.138, allocations: 167.2 kB / 0.4906 GB, free: 11.05 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.139, allocations: 477.7 kB / 0.491 GB, free: 10.59 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007764/0.1398, allocations: 0.6529 MB / 0.4917 GB, free: 9.93 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.14, allocations: 65.23 kB / 0.4917 GB, free: 9.863 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.1403, allocations: 243.1 kB / 0.492 GB, free: 9.625 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.1407, allocations: 266.8 kB / 0.4922 GB, free: 9.363 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.1407, allocations: 32 kB / 0.4923 GB, free: 9.332 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.141, allocations: 163.8 kB / 0.4924 GB, free: 9.172 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.1412, allocations: 155.5 kB / 0.4926 GB, free: 9.02 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00023/0.1415, allocations: 222.5 kB / 0.4928 GB, free: 8.801 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.1422, allocations: 0.5756 MB / 0.4933 GB, free: 8.223 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1422, allocations: 0 / 0.4933 GB, free: 8.223 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.1422, allocations: 0 / 0.4933 GB, free: 8.223 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 8.576e-06/0.1422, allocations: 0 / 0.4933 GB, free: 8.223 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: 89
 * Number of variables: 89
Notification: Performance of Generate backend data structure: time 0.001637/0.1438, allocations: 0.8633 MB / 0.4942 GB, free: 7.316 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1439, allocations: 8.031 kB / 0.4942 GB, free: 7.309 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.144, allocations: 64.52 kB / 0.4943 GB, free: 7.246 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.1448, allocations: 407.8 kB / 0.4946 GB, free: 6.82 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.1449, allocations: 33.36 kB / 0.4947 GB, free: 6.785 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.145, allocations: 48.08 kB / 0.4947 GB, free: 6.738 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.1458, allocations: 488.1 kB / 0.4952 GB, free: 6.23 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.1458, allocations: 0 / 0.4952 GB, free: 6.23 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.1459, allocations: 20 kB / 0.4952 GB, free: 6.211 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1459, allocations: 15.94 kB / 0.4952 GB, free: 6.195 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.1465, allocations: 318.3 kB / 0.4955 GB, free: 5.887 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.1494, allocations: 1.885 MB / 0.4974 GB, free: 3.906 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.15, allocations: 236.4 kB / 0.4976 GB, free: 3.668 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.1503, allocations: 133 kB / 0.4977 GB, free: 3.535 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1504, allocations: 4.234 kB / 0.4977 GB, free: 3.531 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.1508, allocations: 243.1 kB / 0.498 GB, free: 3.277 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.1508, allocations: 7.938 kB / 0.498 GB, free: 3.27 MB / 366.1 MB
Notification: Performance of matching and sorting (n=33): time 0.001074/0.1519, allocations: 0.5449 MB / 0.4985 GB, free: 2.715 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.152, allocations: 114.8 kB / 0.4986 GB, free: 2.578 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.1526, allocations: 0.5418 MB / 0.4991 GB, free: 2.023 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.1527, allocations: 29.7 kB / 0.4992 GB, free: 1.988 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.153, allocations: 288.3 kB / 0.4994 GB, free: 1.699 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1531, allocations: 123 kB / 0.4996 GB, free: 1.578 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1532, allocations: 114 kB / 0.4997 GB, free: 1.461 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001971/0.1534, allocations: 366.8 kB / 0.5 GB, free: 1.094 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1537, allocations: 149 kB / 0.5002 GB, free: 0.9492 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.1542, allocations: 322 kB / 0.5005 GB, free: 0.5586 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.1565, allocations: 0.9335 MB / 0.5014 GB, free: 15.53 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.1566, allocations: 3.938 kB / 0.5014 GB, free: 15.53 MB / 382.1 MB
Notification: Performance of matching and sorting (n=68) (initialization): time 0.001204/0.1578, allocations: 0.6521 MB / 0.502 GB, free: 14.86 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.1578, allocations: 41.69 kB / 0.5021 GB, free: 14.82 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1578, allocations: 4 kB / 0.5021 GB, free: 14.81 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.1579, allocations: 8 kB / 0.5021 GB, free: 14.8 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.1583, allocations: 107.8 kB / 0.5022 GB, free: 14.7 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.1583, allocations: 11.98 kB / 0.5022 GB, free: 14.69 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.1586, allocations: 59.98 kB / 0.5022 GB, free: 14.63 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.1586, allocations: 28 kB / 0.5023 GB, free: 14.6 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.0003858/0.159, allocations: 274.8 kB / 0.5025 GB, free: 14.32 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.1591, allocations: 59.62 kB / 0.5026 GB, free: 14.26 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.16, allocations: 496.2 kB / 0.5031 GB, free: 13.76 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.16, allocations: 0 / 0.5031 GB, free: 13.76 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.16, allocations: 0 / 0.5031 GB, free: 13.76 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.16, allocations: 4 kB / 0.5031 GB, free: 13.76 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.1606, allocations: 444.2 kB / 0.5035 GB, free: 13.28 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1606, allocations: 0 / 0.5035 GB, free: 13.28 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.161, allocations: 67.89 kB / 0.5035 GB, free: 13.21 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.161, allocations: 4 kB / 0.5035 GB, free: 13.21 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.161, allocations: 11.98 kB / 0.5036 GB, free: 13.2 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1611, allocations: 4 kB / 0.5036 GB, free: 13.2 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1611, allocations: 0 / 0.5036 GB, free: 13.2 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1622, allocations: 0.6792 MB / 0.5042 GB, free: 12.49 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.1623, allocations: 55.61 kB / 0.5043 GB, free: 12.43 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.1624, allocations: 15.98 kB / 0.5043 GB, free: 12.42 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1626, allocations: 19.92 kB / 0.5043 GB, free: 12.4 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.1627, allocations: 23.95 kB / 0.5043 GB, free: 12.38 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1627, allocations: 12 kB / 0.5043 GB, free: 12.36 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0004456/0.1632, allocations: 374.8 kB / 0.5047 GB, free: 12 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1632, allocations: 0 / 0.5047 GB, free: 12 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000462/0.1636, allocations: 119.8 kB / 0.5048 GB, free: 11.88 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.001601/0.1652, allocations: 466.5 kB / 0.5053 GB, free: 11.58 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008439/0.1661, allocations: 471.9 kB / 0.5057 GB, free: 11.11 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1661, allocations: 0 / 0.5057 GB, free: 11.11 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.1664, allocations: 215.2 kB / 0.5059 GB, free: 10.89 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1668, allocations: 93.55 kB / 0.506 GB, free: 10.8 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1685, allocations: 1.055 MB / 0.507 GB, free: 9.715 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.1691, allocations: 0.882 MB / 0.5079 GB, free: 8.809 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002572/0.1693, allocations: 92.31 kB / 0.508 GB, free: 8.719 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1694, allocations: 47.42 kB / 0.508 GB, free: 8.672 MB / 382.1 MB
Notification: Performance of SimCode: time 4.91e-07/0.1694, allocations: 4 kB / 0.508 GB, free: 8.668 MB / 382.1 MB
Notification: Performance of Templates: time 0.01194/0.1814, allocations: 5.474 MB / 0.5134 GB, free: 3.223 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile [Timeout 660]
(rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.178400884382427]
Failed to read output from testmodel.py, exit status != 0:
0.18910249695181847 0.433008725 0.28773607399999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f26b37157b0>