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.0008846/0.0008846, allocations: 92.22 kB / 19.65 MB, free: 280 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.000877/0.000877, allocations: 169 kB / 23.02 MB, free: 1.551 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.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.03674/0.03674, allocations: 8.608 MB / 268.5 MB, free: 4.93 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.202e-06/1.202e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.79e-05, allocations: 2.312 kB / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002122/0.00214, allocations: 2.294 MB / 343.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.002863, allocations: 495.5 kB / 343.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.003018, allocations: 19.81 kB / 343.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.003237, allocations: 63.27 kB / 343.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.573e-05/0.003323, allocations: 43.55 kB / 343.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.003843, allocations: 307.2 kB / 344.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.004274, allocations: 0.6092 MB / 344.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.004402, allocations: 53.48 kB / 344.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.004578, allocations: 291.4 kB / 345 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.004753, allocations: 191.4 kB / 345.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.004804, allocations: 48 kB / 345.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.004844, allocations: 44 kB / 345.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.004925, allocations: 131.5 kB / 345.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.005042, allocations: 183.5 kB / 345.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.005329, allocations: 398.5 kB / 346 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005331, allocations: 0 / 346 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005332, allocations: 0 / 346 MB, free: 3.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.005337, allocations: 0 / 346 MB, free: 3.238 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.0007255/0.006062, allocations: 0.9239 MB / 346.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.006104, allocations: 8.031 kB / 346.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.00621, allocations: 104.6 kB / 347 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.006541, allocations: 359.3 kB / 347.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.006575, allocations: 37.38 kB / 347.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.006633, allocations: 52.38 kB / 347.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.007093, allocations: 495 kB / 348 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.007109, allocations: 4.172 kB / 348 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.007139, allocations: 24.38 kB / 348 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.007149, allocations: 12.31 kB / 348 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.007433, allocations: 313.2 kB / 348.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.008613, allocations: 1.075 MB / 349.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.008996, allocations: 242.8 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.009177, allocations: 184.1 kB / 349.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.009191, allocations: 4 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.009544, allocations: 394.5 kB / 350.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.342e-06/0.009545, allocations: 0 / 350.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008421/0.01039, allocations: 0.8314 MB / 351 MB, free: 13.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.01047, allocations: 219.8 kB / 351.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.01076, allocations: 442.4 kB / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.01078, allocations: 41.7 kB / 351.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.01093, allocations: 315.2 kB / 352 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.01101, allocations: 150.8 kB / 352.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.01113, allocations: 139.9 kB / 352.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01128, allocations: 0.543 MB / 352.8 MB, free: 12.01 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1248:5-1248: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: 1.6543257082812488]