Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO.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.001918/0.001918, 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.002355/0.002355, allocations: 191.7 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.502/1.502, allocations: 225.6 MB / 251 MB, free: 13.04 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.08585/0.08585, 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.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO")
translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 443 MB, free: 6.52 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.134, allocations: 54.89 MB / 497.9 MB, free: 15.52 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003951/0.1379, allocations: 2.363 MB / 0.4886 GB, free: 13.14 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001044/0.139, allocations: 483.5 kB / 0.489 GB, free: 12.67 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1391, allocations: 15.81 kB / 0.489 GB, free: 12.66 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1394, allocations: 75.25 kB / 0.4891 GB, free: 12.58 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1395, allocations: 35.56 kB / 0.4891 GB, free: 12.55 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.1401, allocations: 267.5 kB / 0.4894 GB, free: 12.29 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00088/0.141, allocations: 0.734 MB / 0.4901 GB, free: 11.55 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1412, allocations: 61.48 kB / 0.4902 GB, free: 11.48 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.1415, allocations: 239.2 kB / 0.4904 GB, free: 11.25 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1418, allocations: 254.8 kB / 0.4906 GB, free: 11 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.969e-05/0.1419, allocations: 48 kB / 0.4907 GB, free: 10.95 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.759e-05/0.142, allocations: 48 kB / 0.4907 GB, free: 10.9 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1421, allocations: 139.5 kB / 0.4909 GB, free: 10.77 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.1424, allocations: 266.6 kB / 0.4911 GB, free: 10.5 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.143, allocations: 0.5171 MB / 0.4916 GB, free: 9.984 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.143, allocations: 0 / 0.4916 GB, free: 9.984 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.392e-06/0.143, allocations: 0 / 0.4916 GB, free: 9.984 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 8.155e-06/0.143, allocations: 0 / 0.4916 GB, free: 9.984 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: 114
 * Number of variables: 114
Notification: Performance of Generate backend data structure: time 0.001374/0.1443, allocations: 0.8201 MB / 0.4924 GB, free: 9.117 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1444, allocations: 12.03 kB / 0.4924 GB, free: 9.105 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.1445, allocations: 68.56 kB / 0.4925 GB, free: 9.039 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.1451, allocations: 341.3 kB / 0.4928 GB, free: 8.68 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1452, allocations: 37.38 kB / 0.4929 GB, free: 8.645 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.1453, allocations: 52.36 kB / 0.4929 GB, free: 8.594 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.1462, allocations: 0.5105 MB / 0.4934 GB, free: 8.078 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.1463, allocations: 4.141 kB / 0.4934 GB, free: 8.074 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.1463, allocations: 23.94 kB / 0.4934 GB, free: 8.051 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1463, allocations: 8 kB / 0.4934 GB, free: 8.043 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.1471, allocations: 387.8 kB / 0.4938 GB, free: 7.664 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.15, allocations: 1.282 MB / 0.4951 GB, free: 6.32 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.1506, allocations: 218.9 kB / 0.4953 GB, free: 6.098 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.151, allocations: 157.6 kB / 0.4954 GB, free: 5.941 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.151, allocations: 8.156 kB / 0.4954 GB, free: 5.934 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008325/0.1518, allocations: 360.9 kB / 0.4958 GB, free: 5.555 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=50): time 1.733e-06/0.1518, allocations: 3.938 kB / 0.4958 GB, free: 5.551 MB / 366.1 MB
Notification: Performance of matching and sorting (n=50): time 0.001697/0.1535, allocations: 0.8325 MB / 0.4966 GB, free: 4.699 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.1537, allocations: 219.8 kB / 0.4968 GB, free: 4.441 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.1543, allocations: 457.7 kB / 0.4972 GB, free: 3.977 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.1543, allocations: 41.7 kB / 0.4973 GB, free: 3.93 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.1546, allocations: 264.6 kB / 0.4975 GB, free: 3.668 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1547, allocations: 146.8 kB / 0.4977 GB, free: 3.523 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1549, allocations: 130.3 kB / 0.4978 GB, free: 3.391 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.000221/0.1551, allocations: 374.7 kB / 0.4982 GB, free: 3.016 MB / 366.1 MB
[/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable Controller.dpv:DISCRETE(fixed = false protected = true )  type: Real does not appear in any equation in the initial system and is not fixable.
Error: No system for the symbolic initialization was generated
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.8259633388370275]
Failed to read output from testmodel.py, exit status != 0:
0.16323588602244854 0.18594832800000002 0.039623393
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb691fc17b0>