Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001394/0.001394, allocations: 108.8 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.001581/0.001581, allocations: 192.5 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.504/1.504, 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.06461/0.06461, allocations: 11.34 MB / 317.6 MB, free: 13.75 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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO")
translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 443 MB, free: 6.371 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 54.89 MB / 497.9 MB, free: 15.38 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003783/0.1322, allocations: 1.842 MB / 499.8 MB, free: 13.52 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001409/0.1336, allocations: 0.6117 MB / 0.4886 GB, free: 12.91 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1339, allocations: 15.81 kB / 0.4887 GB, free: 12.89 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.134, allocations: 23.73 kB / 0.4887 GB, free: 12.87 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.1342, allocations: 35.66 kB / 0.4887 GB, free: 12.83 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1347, allocations: 111.7 kB / 0.4888 GB, free: 12.72 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004303/0.1351, allocations: 227.4 kB / 0.489 GB, free: 12.5 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1353, allocations: 40.8 kB / 0.4891 GB, free: 12.45 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1355, allocations: 95.62 kB / 0.4892 GB, free: 12.36 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1357, allocations: 99.53 kB / 0.4893 GB, free: 12.26 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.1357, allocations: 16 kB / 0.4893 GB, free: 12.25 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.1358, allocations: 20 kB / 0.4893 GB, free: 12.23 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.1359, allocations: 39.83 kB / 0.4893 GB, free: 12.19 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.136, allocations: 91.47 kB / 0.4894 GB, free: 12.1 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1363, allocations: 203 kB / 0.4896 GB, free: 11.9 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1363, allocations: 0 / 0.4896 GB, free: 11.9 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.332e-06/0.1363, allocations: 0 / 0.4896 GB, free: 11.9 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.618e-06/0.1363, allocations: 0 / 0.4896 GB, free: 11.9 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: 31
 * Number of variables: 31
Notification: Performance of Generate backend data structure: time 0.001312/0.1376, allocations: 0.5029 MB / 0.4901 GB, free: 11.36 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1377, allocations: 8.031 kB / 0.4901 GB, free: 11.35 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.974e-05/0.1378, allocations: 24.8 kB / 0.4901 GB, free: 11.33 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.1383, allocations: 233.9 kB / 0.4904 GB, free: 11.07 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1384, allocations: 97.67 kB / 0.4905 GB, free: 10.96 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.1385, allocations: 20.36 kB / 0.4905 GB, free: 10.94 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.1391, allocations: 181.7 kB / 0.4907 GB, free: 10.76 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1391, allocations: 0 / 0.4907 GB, free: 10.76 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1391, allocations: 4 kB / 0.4907 GB, free: 10.75 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1391, allocations: 4 kB / 0.4907 GB, free: 10.75 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.1397, allocations: 147.8 kB / 0.4908 GB, free: 10.61 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1409, allocations: 0.5499 MB / 0.4913 GB, free: 10.01 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.1415, allocations: 138.5 kB / 0.4915 GB, free: 9.867 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.1418, allocations: 76.92 kB / 0.4915 GB, free: 9.789 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1418, allocations: 0 / 0.4915 GB, free: 9.789 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.1423, allocations: 147.3 kB / 0.4917 GB, free: 9.633 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.1423, allocations: 0 / 0.4917 GB, free: 9.633 MB / 366.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0009867/0.1432, allocations: 265.3 kB / 0.4919 GB, free: 9.367 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1433, allocations: 67.33 kB / 0.492 GB, free: 9.289 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1435, allocations: 207.1 kB / 0.4922 GB, free: 9.078 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1436, allocations: 25.7 kB / 0.4922 GB, free: 9.047 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1437, allocations: 144.3 kB / 0.4924 GB, free: 8.902 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.1437, allocations: 43.67 kB / 0.4924 GB, free: 8.859 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.1438, allocations: 41.7 kB / 0.4924 GB, free: 8.812 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001553/0.144, allocations: 338.8 kB / 0.4928 GB, free: 8.473 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1442, allocations: 75.94 kB / 0.4928 GB, free: 8.398 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1446, allocations: 113.6 kB / 0.4929 GB, free: 8.277 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.1451, allocations: 202.8 kB / 0.4931 GB, free: 8.062 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1451, allocations: 0 / 0.4931 GB, free: 8.062 MB / 366.1 MB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007504/0.1459, allocations: 280.9 kB / 0.4934 GB, free: 7.777 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1459, allocations: 29.7 kB / 0.4934 GB, free: 7.742 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1459, allocations: 4 kB / 0.4934 GB, free: 7.738 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1459, allocations: 0 / 0.4934 GB, free: 7.738 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.1467, allocations: 83.94 kB / 0.4935 GB, free: 7.656 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1467, allocations: 0 / 0.4935 GB, free: 7.656 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1469, allocations: 27.92 kB / 0.4935 GB, free: 7.629 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.147, allocations: 11.94 kB / 0.4936 GB, free: 7.617 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,FOaw.ts,$whenCondition2,FO.TS_in)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (19):
 * Single equations (assignments): 18
 * 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.0001448/0.1471, allocations: 135.9 kB / 0.4937 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1471, allocations: 23.88 kB / 0.4937 GB, free: 7.453 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.1472, allocations: 21.34 kB / 0.4937 GB, free: 7.43 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1472, allocations: 4 kB / 0.4937 GB, free: 7.426 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1472, allocations: 0 / 0.4937 GB, free: 7.426 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1472, allocations: 3.984 kB / 0.4937 GB, free: 7.422 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.1475, allocations: 248.5 kB / 0.494 GB, free: 7.137 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1475, allocations: 0 / 0.494 GB, free: 7.137 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.1483, allocations: 67.94 kB / 0.494 GB, free: 7.07 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1483, allocations: 4 kB / 0.494 GB, free: 7.066 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1483, allocations: 4 kB / 0.494 GB, free: 7.062 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1483, allocations: 4 kB / 0.4941 GB, free: 7.059 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1483, allocations: 0 / 0.4941 GB, free: 7.059 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1494, allocations: 329 kB / 0.4944 GB, free: 6.719 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.1494, allocations: 11.91 kB / 0.4944 GB, free: 6.707 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1494, allocations: 4 kB / 0.4944 GB, free: 6.703 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1496, allocations: 23.97 kB / 0.4944 GB, free: 6.68 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.1497, allocations: 15.97 kB / 0.4944 GB, free: 6.664 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1498, allocations: 15.98 kB / 0.4944 GB, free: 6.648 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001634/0.1499, allocations: 152.6 kB / 0.4946 GB, free: 6.5 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1499, allocations: 0 / 0.4946 GB, free: 6.5 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000269/0.1502, allocations: 39.89 kB / 0.4946 GB, free: 6.461 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y)
 * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12):
 * Single equations (assignments): 9
 * 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.0001397/0.1503, allocations: 99.25 kB / 0.4947 GB, free: 6.352 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007559/0.1511, allocations: 223.3 kB / 0.4949 GB, free: 6.121 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1511, allocations: 0 / 0.4949 GB, free: 6.121 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000309/0.1514, allocations: 91.8 kB / 0.495 GB, free: 6.031 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1517, allocations: 28.59 kB / 0.495 GB, free: 6.004 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1527, allocations: 385.3 kB / 0.4954 GB, free: 5.602 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.1535, allocations: 0.7319 MB / 0.4961 GB, free: 4.844 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001323/0.1536, allocations: 25.48 kB / 0.4961 GB, free: 4.816 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.1537, allocations: 15.44 kB / 0.4962 GB, free: 4.801 MB / 366.1 MB
Notification: Performance of SimCode: time 5.91e-07/0.1537, allocations: 4 kB / 0.4962 GB, free: 4.797 MB / 366.1 MB
Notification: Performance of Templates: time 0.007192/0.1609, allocations: 2.044 MB / 0.4982 GB, free: 2.773 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660]
(rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.828509294427931]
Failed to read output from testmodel.py, exit status != 0:
0.1701054321601987 0.18833903999999996 0.048178276000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc051c817b0>