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.001268/0.001268, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001417/0.001417, allocations: 212.5 kB / 22.24 MB, free: 4.855 MB / 14.72 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 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.06258/0.06258, allocations: 11.35 MB / 323.8 MB, free: 8.121 MB / 254.1 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 56.07 MB / 0.4951 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003512/0.1108, allocations: 2.222 MB / 0.4973 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.1118, allocations: 487.6 kB / 0.4978 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1119, allocations: 15.81 kB / 0.4978 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1121, allocations: 67.27 kB / 0.4979 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1122, allocations: 47.48 kB / 0.4979 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.1128, allocations: 267.5 kB / 0.4982 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008233/0.1136, allocations: 0.7301 MB / 0.4989 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1138, allocations: 57.75 kB / 0.4989 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.114, allocations: 235.3 kB / 0.4992 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.1144, allocations: 238.8 kB / 0.4994 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.1144, allocations: 48 kB / 0.4994 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.1145, allocations: 48 kB / 0.4995 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1147, allocations: 135.5 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.1149, allocations: 210.9 kB / 0.4998 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.1154, allocations: 0.5134 MB / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1154, allocations: 0 / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1154, allocations: 4 kB / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1155, allocations: 0 / 0.5003 GB, free: 12.83 MB / 382.1 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.001286/0.1167, allocations: 0.8279 MB / 0.5011 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1168, allocations: 8.031 kB / 0.5011 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1169, allocations: 86.72 kB / 0.5012 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.117, allocations: 68.52 kB / 0.5013 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.1176, allocations: 349.3 kB / 0.5016 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.1176, allocations: 37.38 kB / 0.5016 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.561e-05/0.1177, allocations: 52.33 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.1187, allocations: 0.592 MB / 0.5023 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.1187, allocations: 7.938 kB / 0.5023 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.1187, allocations: 20 kB / 0.5023 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1188, allocations: 8 kB / 0.5023 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.1196, allocations: 475.1 kB / 0.5028 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.1218, allocations: 1.207 MB / 0.5039 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.1224, allocations: 290.3 kB / 0.5042 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.1227, allocations: 249 kB / 0.5045 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1228, allocations: 3.984 kB / 0.5045 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005998/0.1234, allocations: 430.8 kB / 0.5049 GB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.643e-06/0.1234, allocations: 4 kB / 0.5049 GB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001604/0.125, allocations: 0.9723 MB / 0.5058 GB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.1251, allocations: 215.9 kB / 0.506 GB, free: 6.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.1256, allocations: 461.7 kB / 0.5065 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.1256, allocations: 41.7 kB / 0.5065 GB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.1258, allocations: 268.5 kB / 0.5068 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.126, allocations: 146.8 kB / 0.5069 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.1261, allocations: 134.3 kB / 0.507 GB, free: 5.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.1264, allocations: 378.7 kB / 0.5074 GB, free: 5.203 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1213:5-1213: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.559766507241875] Failed to read output from testmodel.py, exit status != 0: 0.13396260840818286 0.33871773699999996 0.21925830200000002 Calling exit ...