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.001267/0.001267, allocations: 105 kB / 18.84 MB, free: 3.027 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.001493/0.001493, allocations: 209.9 kB / 22.12 MB, free: 5.168 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.411/1.411, allocations: 230.5 MB / 255.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06257/0.06257, allocations: 11.38 MB / 323.5 MB, free: 8.246 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-master/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.002274/0.002274, allocations: 67.89 kB / 450.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1069, allocations: 56.06 MB / 0.4949 GB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003409/0.1103, allocations: 2.212 MB / 0.497 GB, free: 240 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.1113, allocations: 491.6 kB / 0.4975 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1115, allocations: 15.81 kB / 0.4975 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1117, allocations: 67.27 kB / 0.4976 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1118, allocations: 35.55 kB / 0.4976 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.1124, allocations: 275.5 kB / 0.4979 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.1133, allocations: 0.7458 MB / 0.4986 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1135, allocations: 57.77 kB / 0.4987 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.1137, allocations: 235.2 kB / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.114, allocations: 250.9 kB / 0.4991 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.1141, allocations: 48 kB / 0.4992 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.1142, allocations: 44 kB / 0.4992 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.1144, allocations: 135.5 kB / 0.4993 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.1146, allocations: 218.9 kB / 0.4996 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.1151, allocations: 0.5172 MB / 0.5001 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1152, allocations: 0 / 0.5001 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1152, allocations: 0 / 0.5001 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1152, allocations: 4 kB / 0.5001 GB, free: 13.11 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.001321/0.1165, allocations: 0.8162 MB / 0.5009 GB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1165, allocations: 15.95 kB / 0.5009 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.1166, allocations: 82.72 kB / 0.501 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1167, allocations: 84.45 kB / 0.501 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.1173, allocations: 337.4 kB / 0.5014 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.1174, allocations: 33.38 kB / 0.5014 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/0.1175, allocations: 60.33 kB / 0.5015 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/0.1184, allocations: 0.5998 MB / 0.502 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.1185, allocations: 7.938 kB / 0.502 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.1185, allocations: 20 kB / 0.5021 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1185, allocations: 8 kB / 0.5021 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.1193, allocations: 475.1 kB / 0.5025 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1215, allocations: 1.196 MB / 0.5037 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.1221, allocations: 298.3 kB / 0.504 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.1225, allocations: 241.1 kB / 0.5042 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1225, allocations: 8 kB / 0.5042 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/0.1231, allocations: 438.7 kB / 0.5046 GB, free: 8.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.1231, allocations: 0 / 0.5046 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001653/0.1248, allocations: 0.9721 MB / 0.5056 GB, free: 7.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.1249, allocations: 219.9 kB / 0.5058 GB, free: 6.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.1255, allocations: 457.7 kB / 0.5062 GB, free: 6.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.1255, allocations: 41.7 kB / 0.5063 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1257, allocations: 264.6 kB / 0.5065 GB, free: 6.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1259, allocations: 146.8 kB / 0.5067 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.126, allocations: 134.3 kB / 0.5068 GB, free: 5.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1262, allocations: 374.7 kB / 0.5071 GB, free: 5.492 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212: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.6419037359955837] Failed to read output from testmodel.py, exit status != 0: 0.13415379900106927 0.326075449 0.20818202100000002 Calling exit ...