Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001353/0.001353, 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.001516/0.001516, allocations: 185.1 kB / 22.23 MB, free: 5.16 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.02 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.06369/0.06369, 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.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI")
translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 443 MB, free: 6.418 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1319, allocations: 54.88 MB / 497.9 MB, free: 15.43 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003364/0.1353, allocations: 1.788 MB / 499.7 MB, free: 13.63 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001516/0.1368, allocations: 0.5961 MB / 0.4886 GB, free: 13.03 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1369, allocations: 7.938 kB / 0.4886 GB, free: 13.02 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1371, allocations: 23.73 kB / 0.4886 GB, free: 13 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1372, allocations: 35.66 kB / 0.4886 GB, free: 12.96 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1376, allocations: 87.77 kB / 0.4887 GB, free: 12.88 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003693/0.138, allocations: 215.3 kB / 0.4889 GB, free: 12.67 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1382, allocations: 25.73 kB / 0.489 GB, free: 12.64 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1383, allocations: 83.75 kB / 0.489 GB, free: 12.56 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1385, allocations: 95.47 kB / 0.4891 GB, free: 12.46 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.1385, allocations: 16 kB / 0.4891 GB, free: 12.45 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.706e-05/0.1386, allocations: 16 kB / 0.4892 GB, free: 12.43 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.1386, allocations: 35.91 kB / 0.4892 GB, free: 12.4 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1387, allocations: 79.53 kB / 0.4893 GB, free: 12.32 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.139, allocations: 167.3 kB / 0.4894 GB, free: 12.16 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.139, allocations: 0 / 0.4894 GB, free: 12.16 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.563e-06/0.139, allocations: 3.938 kB / 0.4894 GB, free: 12.15 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.22e-05/0.139, allocations: 4 kB / 0.4894 GB, free: 12.15 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: 25
 * Number of variables: 25
Notification: Performance of Generate backend data structure: time 0.001278/0.1403, allocations: 0.5007 MB / 0.4899 GB, free: 11.61 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1404, allocations: 8.031 kB / 0.4899 GB, free: 11.6 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.1404, allocations: 20.84 kB / 0.49 GB, free: 11.58 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.1409, allocations: 214.8 kB / 0.4902 GB, free: 11.34 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.1409, allocations: 63.97 kB / 0.4902 GB, free: 11.27 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.141, allocations: 8.375 kB / 0.4902 GB, free: 11.26 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.1416, allocations: 200.2 kB / 0.4904 GB, free: 11.05 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1416, allocations: 0 / 0.4904 GB, free: 11.05 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1416, allocations: 0 / 0.4904 GB, free: 11.05 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.1416, allocations: 4 kB / 0.4904 GB, free: 11.05 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.1423, allocations: 159.8 kB / 0.4906 GB, free: 10.89 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1434, allocations: 0.6013 MB / 0.4912 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.144, allocations: 158.4 kB / 0.4913 GB, free: 10.07 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.1443, allocations: 80.78 kB / 0.4914 GB, free: 9.992 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1444, allocations: 3.984 kB / 0.4914 GB, free: 9.988 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.1449, allocations: 171.2 kB / 0.4916 GB, free: 9.809 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1449, allocations: 0 / 0.4916 GB, free: 9.809 MB / 366.1 MB
Notification: Performance of matching and sorting (n=13): time 0.001151/0.146, allocations: 295.9 kB / 0.4918 GB, free: 9.516 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1461, allocations: 55.41 kB / 0.4919 GB, free: 9.449 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1463, allocations: 207.7 kB / 0.4921 GB, free: 9.234 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1463, allocations: 33.7 kB / 0.4921 GB, free: 9.195 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1464, allocations: 132.3 kB / 0.4922 GB, free: 9.059 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.1465, allocations: 39.69 kB / 0.4923 GB, free: 9.02 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.1466, allocations: 49.69 kB / 0.4923 GB, free: 8.965 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001715/0.1467, allocations: 326.8 kB / 0.4926 GB, free: 8.637 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.1471, allocations: 96.11 kB / 0.4927 GB, free: 8.543 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1475, allocations: 141.7 kB / 0.4929 GB, free: 8.383 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.1482, allocations: 271.2 kB / 0.4931 GB, free: 8.086 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1482, allocations: 4 kB / 0.4931 GB, free: 8.082 MB / 366.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009113/0.1491, allocations: 350.9 kB / 0.4935 GB, free: 7.723 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.1492, allocations: 63.39 kB / 0.4935 GB, free: 7.648 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1492, allocations: 4 kB / 0.4935 GB, free: 7.645 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1492, allocations: 4 kB / 0.4935 GB, free: 7.641 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.1496, allocations: 51.95 kB / 0.4936 GB, free: 7.59 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1496, allocations: 4 kB / 0.4936 GB, free: 7.586 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1499, allocations: 51.86 kB / 0.4936 GB, free: 7.535 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.15, allocations: 15.94 kB / 0.4937 GB, free: 7.52 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (23):
 * Single equations (assignments): 21
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.000141/0.1501, allocations: 129.8 kB / 0.4938 GB, free: 7.383 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1502, allocations: 19.84 kB / 0.4938 GB, free: 7.363 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.1502, allocations: 17.47 kB / 0.4938 GB, free: 7.34 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1502, allocations: 4 kB / 0.4938 GB, free: 7.336 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1502, allocations: 0 / 0.4938 GB, free: 7.336 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1503, allocations: 3.984 kB / 0.4938 GB, free: 7.332 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.1505, allocations: 216.6 kB / 0.494 GB, free: 7.078 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1505, allocations: 0 / 0.494 GB, free: 7.078 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.1509, allocations: 55.83 kB / 0.4941 GB, free: 7.023 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1509, allocations: 4 kB / 0.4941 GB, free: 7.02 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.151, allocations: 3.984 kB / 0.4941 GB, free: 7.016 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.151, allocations: 0 / 0.4941 GB, free: 7.016 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.151, allocations: 3.984 kB / 0.4941 GB, free: 7.012 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.1521, allocations: 340.8 kB / 0.4944 GB, free: 6.66 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.1521, allocations: 23.88 kB / 0.4944 GB, free: 6.637 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1521, allocations: 4 kB / 0.4944 GB, free: 6.633 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.1524, allocations: 35.94 kB / 0.4945 GB, free: 6.598 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.1525, allocations: 23.97 kB / 0.4945 GB, free: 6.574 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1525, allocations: 11.98 kB / 0.4945 GB, free: 6.562 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001298/0.1526, allocations: 141.5 kB / 0.4946 GB, free: 6.426 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1526, allocations: 0 / 0.4946 GB, free: 6.426 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0002747/0.1529, allocations: 47.83 kB / 0.4947 GB, free: 6.379 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (I.y,Itr.y)
 * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count)
 * Number of discrete states: 2 (Input.count,TrackRef.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (13):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * 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.0001437/0.1531, allocations: 103.8 kB / 0.4948 GB, free: 6.27 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008817/0.1539, allocations: 314.9 kB / 0.4951 GB, free: 5.938 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1539, allocations: 8 kB / 0.4951 GB, free: 5.93 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000376/0.1543, allocations: 94.73 kB / 0.4952 GB, free: 5.84 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1546, allocations: 26.17 kB / 0.4952 GB, free: 5.816 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.1555, allocations: 332.2 kB / 0.4955 GB, free: 5.465 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1559, allocations: 0.7242 MB / 0.4962 GB, free: 4.715 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001017/0.156, allocations: 17.48 kB / 0.4963 GB, free: 4.699 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.156, allocations: 19.44 kB / 0.4963 GB, free: 4.68 MB / 366.1 MB
Notification: Performance of SimCode: time 3.61e-07/0.156, allocations: 0 / 0.4963 GB, free: 4.68 MB / 366.1 MB
Notification: Performance of Templates: time 0.006536/0.1626, allocations: 2.505 MB / 0.4987 GB, free: 2.195 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660]
(rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.8111572209745646]
Failed to read output from testmodel.py, exit status != 0:
0.17036225832998753 0.18626656399999994 0.04412146799999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f65505257b0>