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.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.001264/0.001264, 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.001396/0.001396, allocations: 191 kB / 22.23 MB, free: 5.102 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.554/1.554, allocations: 225.6 MB / 251 MB, free: 13.01 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.06473/0.06473, allocations: 11.34 MB / 317.6 MB, free: 13.77 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.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: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 63.89 kB / 443 MB, free: 6.43 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.127, allocations: 54.9 MB / 497.9 MB, free: 15.43 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.004724/0.1317, allocations: 2.475 MB / 0.4887 GB, free: 12.93 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003544/0.1353, allocations: 1.547 MB / 0.4902 GB, free: 11.38 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.1357, allocations: 23.75 kB / 0.4902 GB, free: 11.36 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000823/0.1365, allocations: 227 kB / 0.4904 GB, free: 11.13 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005209/0.137, allocations: 171.2 kB / 0.4906 GB, free: 10.96 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1385, allocations: 469.9 kB / 0.491 GB, free: 10.51 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009088/0.1394, allocations: 0.6451 MB / 0.4917 GB, free: 9.859 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1395, allocations: 61.23 kB / 0.4917 GB, free: 9.797 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.1399, allocations: 243 kB / 0.4919 GB, free: 9.559 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.1402, allocations: 263 kB / 0.4922 GB, free: 9.301 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.1403, allocations: 32 kB / 0.4922 GB, free: 9.27 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.1406, allocations: 167.8 kB / 0.4924 GB, free: 9.105 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1408, allocations: 155.5 kB / 0.4925 GB, free: 8.953 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.1411, allocations: 230.5 kB / 0.4928 GB, free: 8.727 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.142, allocations: 0.5717 MB / 0.4933 GB, free: 8.152 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.142, allocations: 0 / 0.4933 GB, free: 8.152 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.142, allocations: 0 / 0.4933 GB, free: 8.152 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.864e-06/0.142, allocations: 0 / 0.4933 GB, free: 8.152 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.001759/0.1437, allocations: 0.8594 MB / 0.4942 GB, free: 7.25 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1438, allocations: 12.03 kB / 0.4942 GB, free: 7.238 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1439, allocations: 64.52 kB / 0.4942 GB, free: 7.176 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.1446, allocations: 403.8 kB / 0.4946 GB, free: 6.754 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1446, allocations: 25.38 kB / 0.4946 GB, free: 6.727 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.1447, allocations: 44.12 kB / 0.4947 GB, free: 6.684 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/0.1456, allocations: 488.1 kB / 0.4951 GB, free: 6.176 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1457, allocations: 0 / 0.4951 GB, free: 6.176 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.1457, allocations: 16 kB / 0.4952 GB, free: 6.16 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1457, allocations: 12 kB / 0.4952 GB, free: 6.148 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.1464, allocations: 330.3 kB / 0.4955 GB, free: 5.828 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.1493, allocations: 1.881 MB / 0.4973 GB, free: 3.852 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.1499, allocations: 234.8 kB / 0.4975 GB, free: 3.613 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.1501, allocations: 129 kB / 0.4977 GB, free: 3.484 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.1501, allocations: 4.234 kB / 0.4977 GB, free: 3.48 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.1506, allocations: 247.1 kB / 0.4979 GB, free: 3.223 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.1506, allocations: 0 / 0.4979 GB, free: 3.223 MB / 366.1 MB
Notification: Performance of matching and sorting (n=33): time 0.001129/0.1517, allocations: 0.5489 MB / 0.4984 GB, free: 2.664 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.1518, allocations: 114.8 kB / 0.4986 GB, free: 2.527 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.1525, allocations: 0.5456 MB / 0.4991 GB, free: 1.969 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.1525, allocations: 29.7 kB / 0.4991 GB, free: 1.934 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.1528, allocations: 284.3 kB / 0.4994 GB, free: 1.648 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1529, allocations: 119.1 kB / 0.4995 GB, free: 1.531 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1531, allocations: 106.1 kB / 0.4996 GB, free: 1.422 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003282/0.1534, allocations: 370.8 kB / 0.5 GB, free: 1.051 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.1537, allocations: 145 kB / 0.5001 GB, free: 0.9102 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.1542, allocations: 326 kB / 0.5004 GB, free: 0.5156 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.1566, allocations: 0.9413 MB / 0.5013 GB, free: 15.48 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.1566, allocations: 7.922 kB / 0.5013 GB, free: 15.47 MB / 382.1 MB
Notification: Performance of matching and sorting (n=68) (initialization): time 0.001221/0.1579, allocations: 0.6409 MB / 0.502 GB, free: 14.82 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.1579, allocations: 43.59 kB / 0.502 GB, free: 14.77 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1579, allocations: 4 kB / 0.502 GB, free: 14.77 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1579, allocations: 8 kB / 0.502 GB, free: 14.76 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.1584, allocations: 115.8 kB / 0.5021 GB, free: 14.64 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.1584, allocations: 7.938 kB / 0.5021 GB, free: 14.64 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1587, allocations: 71.48 kB / 0.5022 GB, free: 14.57 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.1587, allocations: 20 kB / 0.5022 GB, free: 14.55 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.0003788/0.1591, allocations: 267 kB / 0.5025 GB, free: 14.27 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.1592, allocations: 59.62 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009212/0.1601, allocations: 0.4885 MB / 0.503 GB, free: 13.71 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1601, allocations: 4 kB / 0.503 GB, free: 13.71 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1601, allocations: 0 / 0.503 GB, free: 13.71 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1601, allocations: 3.984 kB / 0.503 GB, free: 13.7 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.1607, allocations: 440 kB / 0.5034 GB, free: 13.23 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1607, allocations: 0 / 0.5034 GB, free: 13.23 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.1611, allocations: 75.88 kB / 0.5035 GB, free: 13.16 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1611, allocations: 0 / 0.5035 GB, free: 13.16 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.1611, allocations: 16 kB / 0.5035 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1611, allocations: 0 / 0.5035 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1611, allocations: 0 / 0.5035 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1623, allocations: 0.6753 MB / 0.5042 GB, free: 12.44 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.1624, allocations: 51.59 kB / 0.5042 GB, free: 12.39 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.1624, allocations: 20 kB / 0.5042 GB, free: 12.37 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1626, allocations: 15.98 kB / 0.5043 GB, free: 12.36 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.1627, allocations: 27.95 kB / 0.5043 GB, free: 12.33 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.1627, allocations: 15.98 kB / 0.5043 GB, free: 12.31 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0004413/0.1632, allocations: 378.8 kB / 0.5047 GB, free: 11.95 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1632, allocations: 0 / 0.5047 GB, free: 11.95 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0004909/0.1636, allocations: 119.8 kB / 0.5048 GB, free: 11.83 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.00162/0.1653, allocations: 465.5 kB / 0.5052 GB, free: 11.53 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008812/0.1661, allocations: 456 kB / 0.5057 GB, free: 11.07 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1662, allocations: 0 / 0.5057 GB, free: 11.07 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.1666, allocations: 227.3 kB / 0.5059 GB, free: 10.84 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.167, allocations: 86.12 kB / 0.506 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1687, allocations: 1.044 MB / 0.507 GB, free: 9.68 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.1693, allocations: 0.8781 MB / 0.5078 GB, free: 8.777 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002527/0.1695, allocations: 100.2 kB / 0.5079 GB, free: 8.68 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1697, allocations: 47.42 kB / 0.508 GB, free: 8.633 MB / 382.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.1697, allocations: 0 / 0.508 GB, free: 8.633 MB / 382.1 MB
Notification: Performance of Templates: time 0.01245/0.1821, allocations: 5.465 MB / 0.5133 GB, free: 3.199 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.189894539304078]
Failed to read output from testmodel.py, exit status != 0:
0.19117890018969774 0.44100366700000004 0.295636018
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbc188fd7b0>