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.001397/0.001397, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001076/0.001076, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.07/1.07, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.03811/0.03811, allocations: 8.619 MB / 269.7 MB, free: 4.766 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.443e-06/1.443e-06, allocations: 0 / 342.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.322e-05, allocations: 2.312 kB / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002862/0.002885, allocations: 2.259 MB / 344.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.003845, allocations: 491.5 kB / 344.9 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.004036, allocations: 19.81 kB / 344.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.00425, allocations: 67.27 kB / 344.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.00436, allocations: 35.55 kB / 345 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.004972, allocations: 303.3 kB / 345.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.005488, allocations: 0.613 MB / 345.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.005637, allocations: 61.48 kB / 345.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.005866, allocations: 291.4 kB / 346.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.006072, allocations: 195.4 kB / 346.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.006132, allocations: 47.98 kB / 346.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.686e-05/0.006179, allocations: 48 kB / 346.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.006272, allocations: 127.5 kB / 346.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.006412, allocations: 179.5 kB / 346.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.006736, allocations: 398.5 kB / 347.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006739, allocations: 0 / 347.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006741, allocations: 0 / 347.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.006746, allocations: 0 / 347.2 MB, free: 2.992 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.0009814/0.007727, allocations: 0.9081 MB / 348.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.007761, allocations: 8.031 kB / 348.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.007889, allocations: 112.6 kB / 348.2 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.00824, allocations: 351.3 kB / 348.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.008271, allocations: 37.38 kB / 348.6 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.008329, allocations: 48.38 kB / 348.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.008774, allocations: 455 kB / 349.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.008792, allocations: 4.188 kB / 349.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.008827, allocations: 20.38 kB / 349.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.008835, allocations: 8.375 kB / 349.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.009085, allocations: 278.2 kB / 349.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01033, allocations: 0.9745 MB / 350.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.01065, allocations: 226.7 kB / 350.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.01081, allocations: 168.1 kB / 350.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.01082, allocations: 4 kB / 350.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.01115, allocations: 370.4 kB / 351.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.683e-06/0.01115, allocations: 4 kB / 351.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009262/0.01208, allocations: 0.7963 MB / 351.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.01218, allocations: 227.8 kB / 352.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.0125, allocations: 434.2 kB / 352.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.01254, allocations: 41.7 kB / 352.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.01272, allocations: 319.1 kB / 352.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.01283, allocations: 154.8 kB / 353.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.01297, allocations: 147.8 kB / 353.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.01316, allocations: 0.5468 MB / 353.8 MB, free: 12.04 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.7837470909580588]