Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.001734/0.001734, 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.001953/0.001953, allocations: 190.9 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.575/1.575, 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.06775/0.06775, allocations: 11.33 MB / 317.6 MB, free: 13.76 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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP")
translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 71.89 kB / 443 MB, free: 6.395 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1443, allocations: 54.88 MB / 497.9 MB, free: 15.41 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003999/0.1482, allocations: 1.755 MB / 499.7 MB, free: 13.64 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001391/0.1496, allocations: 0.561 MB / 0.4885 GB, free: 13.08 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1498, allocations: 7.938 kB / 0.4885 GB, free: 13.07 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.15, allocations: 27.67 kB / 0.4885 GB, free: 13.04 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1501, allocations: 27.72 kB / 0.4886 GB, free: 13.02 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1505, allocations: 67.84 kB / 0.4886 GB, free: 12.95 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003645/0.1509, allocations: 183.4 kB / 0.4888 GB, free: 12.77 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1511, allocations: 17.75 kB / 0.4888 GB, free: 12.75 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1513, allocations: 79.69 kB / 0.4889 GB, free: 12.67 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1515, allocations: 67.67 kB / 0.489 GB, free: 12.61 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.1515, allocations: 16 kB / 0.489 GB, free: 12.59 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.1515, allocations: 16 kB / 0.489 GB, free: 12.57 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.1516, allocations: 31.86 kB / 0.489 GB, free: 12.54 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1517, allocations: 63.64 kB / 0.4891 GB, free: 12.48 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.152, allocations: 147.3 kB / 0.4892 GB, free: 12.34 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.152, allocations: 0 / 0.4892 GB, free: 12.34 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.152, allocations: 0 / 0.4892 GB, free: 12.34 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.158e-06/0.152, allocations: 0 / 0.4892 GB, free: 12.34 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: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.001239/0.1533, allocations: 455.1 kB / 0.4897 GB, free: 11.86 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1533, allocations: 8.031 kB / 0.4897 GB, free: 11.85 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.812e-05/0.1534, allocations: 16.84 kB / 0.4897 GB, free: 11.83 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.1539, allocations: 182.2 kB / 0.4899 GB, free: 11.63 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.154, allocations: 59.97 kB / 0.4899 GB, free: 11.56 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.154, allocations: 16.36 kB / 0.4899 GB, free: 11.54 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.1544, allocations: 139.8 kB / 0.4901 GB, free: 11.4 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1545, allocations: 0 / 0.4901 GB, free: 11.4 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1545, allocations: 11.94 kB / 0.4901 GB, free: 11.39 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1545, allocations: 0 / 0.4901 GB, free: 11.39 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.155, allocations: 123.9 kB / 0.4902 GB, free: 11.27 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.1559, allocations: 395.5 kB / 0.4906 GB, free: 10.84 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.1564, allocations: 118.5 kB / 0.4907 GB, free: 10.71 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.1566, allocations: 60.8 kB / 0.4907 GB, free: 10.65 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1567, allocations: 7.938 kB / 0.4907 GB, free: 10.64 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.1571, allocations: 127.2 kB / 0.4909 GB, free: 10.51 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1571, allocations: 0 / 0.4909 GB, free: 10.51 MB / 366.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0009368/0.158, allocations: 241.5 kB / 0.4911 GB, free: 10.27 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1581, allocations: 55.41 kB / 0.4912 GB, free: 10.2 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1583, allocations: 183.2 kB / 0.4913 GB, free: 10.01 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1583, allocations: 29.7 kB / 0.4914 GB, free: 9.973 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1584, allocations: 128.4 kB / 0.4915 GB, free: 9.844 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1585, allocations: 27.78 kB / 0.4915 GB, free: 9.816 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.1585, allocations: 33.7 kB / 0.4915 GB, free: 9.777 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.00016/0.1587, allocations: 330.8 kB / 0.4919 GB, free: 9.445 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.159, allocations: 63.94 kB / 0.4919 GB, free: 9.383 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.1593, allocations: 86.05 kB / 0.492 GB, free: 9.289 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.1598, allocations: 177 kB / 0.4922 GB, free: 9.098 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1598, allocations: 0 / 0.4922 GB, free: 9.098 MB / 366.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006804/0.1605, allocations: 235 kB / 0.4924 GB, free: 8.855 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.1605, allocations: 37.69 kB / 0.4924 GB, free: 8.812 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1605, allocations: 3.938 kB / 0.4924 GB, free: 8.809 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1606, allocations: 4 kB / 0.4924 GB, free: 8.805 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.1608, allocations: 28.06 kB / 0.4925 GB, free: 8.777 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1608, allocations: 4 kB / 0.4925 GB, free: 8.773 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.161, allocations: 31.92 kB / 0.4925 GB, free: 8.742 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.161, allocations: 4 kB / 0.4925 GB, free: 8.738 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 13
 * 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.0001369/0.1611, allocations: 131.5 kB / 0.4926 GB, free: 8.602 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1612, allocations: 15.89 kB / 0.4926 GB, free: 8.586 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.1612, allocations: 21.34 kB / 0.4927 GB, free: 8.562 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1612, allocations: 8 kB / 0.4927 GB, free: 8.555 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.1613, allocations: 4.375 kB / 0.4927 GB, free: 8.551 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1613, allocations: 0 / 0.4927 GB, free: 8.551 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1615, allocations: 200.6 kB / 0.4929 GB, free: 8.312 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1615, allocations: 0 / 0.4929 GB, free: 8.312 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1617, allocations: 23.91 kB / 0.4929 GB, free: 8.289 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1617, allocations: 4 kB / 0.4929 GB, free: 8.285 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1617, allocations: 3.938 kB / 0.4929 GB, free: 8.281 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1617, allocations: 0 / 0.4929 GB, free: 8.281 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1617, allocations: 0 / 0.4929 GB, free: 8.281 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.1623, allocations: 208.8 kB / 0.4931 GB, free: 8.059 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1624, allocations: 11.91 kB / 0.4931 GB, free: 8.047 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.1624, allocations: 7.938 kB / 0.4931 GB, free: 8.039 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1626, allocations: 31.95 kB / 0.4931 GB, free: 8.008 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.1627, allocations: 23.84 kB / 0.4932 GB, free: 7.984 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.1627, allocations: 4 kB / 0.4932 GB, free: 7.98 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001347/0.1628, allocations: 133.2 kB / 0.4933 GB, free: 7.852 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.1628, allocations: 0 / 0.4933 GB, free: 7.852 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0002469/0.1631, allocations: 27.95 kB / 0.4933 GB, free: 7.824 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count)
 * Number of discrete states: 1 (TrackRef.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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.0001422/0.1632, allocations: 99.78 kB / 0.4934 GB, free: 7.719 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006974/0.1639, allocations: 199.2 kB / 0.4936 GB, free: 7.512 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1639, allocations: 0 / 0.4936 GB, free: 7.512 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1642, allocations: 75.86 kB / 0.4937 GB, free: 7.438 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1645, allocations: 20.19 kB / 0.4937 GB, free: 7.418 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.1653, allocations: 268.3 kB / 0.494 GB, free: 7.129 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.1658, allocations: 0.7238 MB / 0.4947 GB, free: 6.379 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 9.577e-05/0.1659, allocations: 13.08 kB / 0.4947 GB, free: 6.363 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.1659, allocations: 19.44 kB / 0.4947 GB, free: 6.348 MB / 366.1 MB
Notification: Performance of SimCode: time 6.61e-07/0.1659, allocations: 0 / 0.4947 GB, free: 6.348 MB / 366.1 MB
Notification: Performance of Templates: time 0.006369/0.1723, allocations: 1.847 MB / 0.4965 GB, free: 4.523 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660]
(rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.941715283319354]
Failed to read output from testmodel.py, exit status != 0:
0.18127515073865652 0.20053277700000002 0.044806332000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5c7cb917b0>