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.0009202/0.0009202, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009431/0.0009431, allocations: 181 kB / 23.36 MB, free: 1.133 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.9725/0.9725, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.038/0.038, allocations: 8.624 MB / 268.9 MB, free: 4.797 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 2.425e-06/2.425e-06, allocations: 4 kB / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.49e-05, allocations: 2.312 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.1178/0.1178, allocations: 2.311 MB / 290.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.119, allocations: 0.5023 MB / 290.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1192, allocations: 17.88 kB / 290.9 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1194, allocations: 70.16 kB / 291 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1196, allocations: 38.97 kB / 291.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.1203, allocations: 302.5 kB / 291.3 MB, free: 18.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007675/0.1211, allocations: 0.6113 MB / 292 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1212, allocations: 62.52 kB / 292 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.1215, allocations: 291.3 kB / 292.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.1219, allocations: 192.8 kB / 292.5 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.122, allocations: 46 kB / 292.5 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.122, allocations: 46.91 kB / 292.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1222, allocations: 127.9 kB / 292.7 MB, free: 18.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1223, allocations: 179.9 kB / 292.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.1228, allocations: 398.5 kB / 293.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1228, allocations: 0.5 kB / 293.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1228, allocations: 2.062 kB / 293.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.1228, allocations: 0 / 293.3 MB, free: 18.2 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.0009983/0.1238, allocations: 0.7747 MB / 294 MB, free: 17.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1239, allocations: 9.875 kB / 294.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.124, allocations: 86.44 kB / 294.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1244, allocations: 313.9 kB / 294.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.1245, allocations: 34.5 kB / 294.5 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.1245, allocations: 54.39 kB / 294.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.1251, allocations: 476.6 kB / 295 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1251, allocations: 2.094 kB / 295 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.1252, allocations: 20.58 kB / 295 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1252, allocations: 8.438 kB / 295 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1255, allocations: 261.9 kB / 295.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.1269, allocations: 0.7886 MB / 296.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.1272, allocations: 251.6 kB / 296.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1274, allocations: 159.5 kB / 296.5 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1274, allocations: 3.859 kB / 296.5 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/0.1277, allocations: 364.3 kB / 296.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.033e-06/0.1277, allocations: 0 / 296.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006541/0.1284, allocations: 0.6061 MB / 297.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.1285, allocations: 222 kB / 297.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1288, allocations: 367 kB / 298 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1288, allocations: 43.09 kB / 298.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1289, allocations: 232.7 kB / 298.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.129, allocations: 146.6 kB / 298.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1291, allocations: 140.3 kB / 298.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.1292, allocations: 372.9 kB / 298.9 MB, free: 14.72 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1246:5-1246: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.627083736937493]