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: 119.6 kB / 17.16 MB, free: 5.914 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.001264/0.001264, allocations: 211 kB / 20.13 MB, free: 2.969 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.383/1.383, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06004/0.06004, allocations: 11.33 MB / 320.9 MB, free: 14.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="cs",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.001956/0.001956, allocations: 65.53 kB / 446.5 MB, free: 38.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09266, allocations: 56.01 MB / 0.4908 GB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002705/0.09536, allocations: 2.359 MB / 0.4931 GB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.09615, allocations: 491.5 kB / 0.4935 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.09629, allocations: 15.81 kB / 0.4935 GB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.09647, allocations: 71.33 kB / 0.4936 GB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.09656, allocations: 39.55 kB / 0.4937 GB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.09697, allocations: 243.5 kB / 0.4939 GB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006783/0.09765, allocations: 0.6874 MB / 0.4946 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.09782, allocations: 69.44 kB / 0.4946 GB, free: 15.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.09808, allocations: 235.2 kB / 0.4948 GB, free: 15.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.09838, allocations: 258.9 kB / 0.4951 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.09846, allocations: 48 kB / 0.4951 GB, free: 14.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.09852, allocations: 44 kB / 0.4952 GB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.09867, allocations: 135.5 kB / 0.4953 GB, free: 14.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.09891, allocations: 266.5 kB / 0.4956 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.09943, allocations: 0.5095 MB / 0.4961 GB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.09944, allocations: 3.938 kB / 0.4961 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09944, allocations: 0 / 0.4961 GB, free: 13.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.09945, allocations: 0 / 0.4961 GB, free: 13.98 MB / 366.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.00132/0.1008, allocations: 0.8916 MB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1008, allocations: 8.031 kB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.821e-05/0.1008, allocations: 9.188 kB / 0.497 GB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.995e-05/0.1009, allocations: 90.72 kB / 0.497 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.101, allocations: 76.52 kB / 0.4971 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.1016, allocations: 404.5 kB / 0.4975 GB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1016, allocations: 33.38 kB / 0.4975 GB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.1017, allocations: 56.33 kB / 0.4976 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008805/0.1026, allocations: 0.5064 MB / 0.4981 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1026, allocations: 7.938 kB / 0.4981 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.1027, allocations: 27.98 kB / 0.4981 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1027, allocations: 8 kB / 0.4981 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.1034, allocations: 379.7 kB / 0.4985 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.1056, allocations: 1.328 MB / 0.4998 GB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.1061, allocations: 222.8 kB / 0.5 GB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.1065, allocations: 165.6 kB / 0.5002 GB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1065, allocations: 0 / 0.5002 GB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.107, allocations: 351.4 kB / 0.5005 GB, free: 9.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.233e-06/0.107, allocations: 0 / 0.5005 GB, free: 9.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.001506/0.1085, allocations: 0.8287 MB / 0.5013 GB, free: 8.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.1087, allocations: 219.8 kB / 0.5015 GB, free: 8.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.1092, allocations: 453.8 kB / 0.5019 GB, free: 7.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.1092, allocations: 37.7 kB / 0.502 GB, free: 7.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.1094, allocations: 272.5 kB / 0.5022 GB, free: 7.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.1095, allocations: 146.8 kB / 0.5024 GB, free: 7.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.1097, allocations: 134.2 kB / 0.5025 GB, free: 7.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1099, allocations: 374.7 kB / 0.5029 GB, free: 6.707 MB / 366.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.4495348199852742] Failed to read output from testmodel.py, exit status != 0: 0.11595602397574112 0.12951258100000002 0.027406468000000003 Calling exit ...