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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.06581/0.06581, allocations: 8.601 MB / 268.2 MB, free: 4.938 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.693e-06/1.693e-06, allocations: 0 / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.696e-05, allocations: 8.5 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002594/0.002621, allocations: 2.221 MB / 342.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.003525, allocations: 487.5 kB / 342.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.003748, allocations: 15.88 kB / 342.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.003981, allocations: 67.27 kB / 342.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.004113, allocations: 39.55 kB / 343 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.004813, allocations: 311.2 kB / 343.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.005437, allocations: 0.613 MB / 343.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.005601, allocations: 53.48 kB / 343.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.005923, allocations: 291.4 kB / 344.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.006184, allocations: 199.4 kB / 344.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.006269, allocations: 48 kB / 344.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.006327, allocations: 44 kB / 344.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.006444, allocations: 127.5 kB / 344.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.00661, allocations: 171.6 kB / 344.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.007059, allocations: 0.5412 MB / 345.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.007063, allocations: 0 / 345.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007065, allocations: 0 / 345.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.007084, allocations: 0 / 345.3 MB, free: 3.516 MB / 266.7 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.00112/0.008204, allocations: 0.8201 MB / 346.2 MB, free: 2.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.008236, allocations: 8.031 kB / 346.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.008407, allocations: 108.6 kB / 346.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.008849, allocations: 360.5 kB / 346.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.008882, allocations: 37.38 kB / 346.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.008958, allocations: 52.36 kB / 346.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007789/0.009737, allocations: 0.5882 MB / 347.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.009758, allocations: 4.188 kB / 347.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.009804, allocations: 20.38 kB / 347.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.009812, allocations: 12.38 kB / 347.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.01047, allocations: 487 kB / 347.8 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.01247, allocations: 1.123 MB / 348.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.01316, allocations: 302.3 kB / 349.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.01361, allocations: 245.2 kB / 349.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.01363, allocations: 4 kB / 349.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.01432, allocations: 439.1 kB / 349.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.01432, allocations: 0 / 349.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.00187/0.01619, allocations: 0.9878 MB / 350.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.01638, allocations: 219.8 kB / 351.1 MB, free: 13.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.01688, allocations: 409.4 kB / 351.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.01694, allocations: 41.7 kB / 351.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.0172, allocations: 268.4 kB / 351.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.01737, allocations: 154.8 kB / 352 MB, free: 12.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.01756, allocations: 130.3 kB / 352.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.01779, allocations: 366.8 kB / 352.4 MB, free: 12.06 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1210:5-1210: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.2832496740156785]