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.001461/0.001461, allocations: 93.06 kB / 19.65 MB, free: 272 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.001263/0.001263, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9354/0.9354, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03688/0.03688, allocations: 8.604 MB / 268.6 MB, free: 4.914 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.182e-06/1.182e-06, allocations: 0 / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.937e-05, allocations: 2.312 kB / 340.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002074/0.002094, allocations: 2.291 MB / 343.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006274/0.002721, allocations: 495.5 kB / 343.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.002826, allocations: 15.81 kB / 343.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.002986, allocations: 71.31 kB / 343.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.003063, allocations: 39.5 kB / 343.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.003466, allocations: 299.3 kB / 344.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.003863, allocations: 0.6208 MB / 344.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.003983, allocations: 53.48 kB / 344.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.004164, allocations: 287.4 kB / 345 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.004324, allocations: 195.4 kB / 345.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.004371, allocations: 48 kB / 345.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.905e-05/0.00441, allocations: 44 kB / 345.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.004486, allocations: 131.5 kB / 345.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.004598, allocations: 171.6 kB / 345.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.004867, allocations: 402.5 kB / 346 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.00487, allocations: 0 / 346 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004871, allocations: 4 kB / 346 MB, free: 3.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.004877, allocations: 0 / 346 MB, free: 3.227 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.0007373/0.005614, allocations: 0.9199 MB / 346.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.005659, allocations: 8.031 kB / 346.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.005765, allocations: 108.6 kB / 347 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.006076, allocations: 359.3 kB / 347.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.006105, allocations: 33.38 kB / 347.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.006156, allocations: 52.36 kB / 347.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.006609, allocations: 0.4912 MB / 348 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.006626, allocations: 4.172 kB / 348 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.006656, allocations: 24.38 kB / 348 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.006665, allocations: 8.375 kB / 348 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.006937, allocations: 317.1 kB / 348.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.00812, allocations: 1.068 MB / 349.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.008483, allocations: 246.8 kB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.008652, allocations: 184 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.008664, allocations: 4 kB / 349.8 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.008991, allocations: 390.5 kB / 350.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.483e-06/0.008992, allocations: 0 / 350.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008321/0.009824, allocations: 0.8394 MB / 351 MB, free: 13.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/0.009915, allocations: 219.8 kB / 351.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.0102, allocations: 434.4 kB / 351.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.01022, allocations: 45.7 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.01037, allocations: 315.2 kB / 352 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.01045, allocations: 150.8 kB / 352.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01056, allocations: 139.9 kB / 352.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.01071, allocations: 0.5352 MB / 352.8 MB, free: 12 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.6601929697208107]