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.002482/0.002482, allocations: 85.48 kB / 19.44 MB, free: 344 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.002988/0.002988, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.08104/0.08104, allocations: 8.613 MB / 268.2 MB, free: 4.941 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.984e-06/1.984e-06, allocations: 0 / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.704e-05, allocations: 4.703 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003939/0.003966, allocations: 2.264 MB / 342.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.005146, allocations: 487.5 kB / 342.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.00535, allocations: 23.75 kB / 342.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.005602, allocations: 67.27 kB / 343 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.005772, allocations: 43.55 kB / 343 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.00661, allocations: 299.3 kB / 343.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.007355, allocations: 0.6208 MB / 343.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.007539, allocations: 57.47 kB / 344 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.007882, allocations: 283.4 kB / 344.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.008201, allocations: 199.4 kB / 344.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.008309, allocations: 48 kB / 344.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.008396, allocations: 44 kB / 344.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.008539, allocations: 127.5 kB / 344.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.008766, allocations: 179.5 kB / 344.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.009354, allocations: 0.5412 MB / 345.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.009358, allocations: 0 / 345.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009359, allocations: 0 / 345.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.009366, allocations: 0 / 345.4 MB, free: 3.461 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.001365/0.01073, allocations: 0.9391 MB / 346.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01077, allocations: 12.03 kB / 346.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.01098, allocations: 108.6 kB / 346.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.01163, allocations: 351.4 kB / 346.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.01168, allocations: 37.38 kB / 346.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.01179, allocations: 52.36 kB / 346.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.01282, allocations: 0.5413 MB / 347.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.01285, allocations: 192 / 347.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.01292, allocations: 20.38 kB / 347.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01293, allocations: 8.375 kB / 347.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.0138, allocations: 407.2 kB / 347.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.0167, allocations: 1.161 MB / 349 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.01763, allocations: 334.9 kB / 349.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/0.01829, allocations: 284 kB / 349.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.01831, allocations: 4 kB / 349.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.01934, allocations: 446.5 kB / 350.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.833e-06/0.01934, allocations: 0 / 350.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.002699/0.02204, allocations: 0.9568 MB / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.02229, allocations: 223.6 kB / 351.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.02314, allocations: 0.4907 MB / 351.7 MB, free: 12.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.02321, allocations: 41.69 kB / 351.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.02361, allocations: 335.1 kB / 352.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.02387, allocations: 170.8 kB / 352.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.0242, allocations: 167.9 kB / 352.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004898/0.02469, allocations: 0.5626 MB / 353 MB, free: 11.48 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: 2.3950167590519413]