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.001303/0.001303, allocations: 113 kB / 18.94 MB, free: 2.934 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.001576/0.001576, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.039 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.0662/0.0662, allocations: 11.33 MB / 323.8 MB, free: 8.348 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.002081/0.002081, allocations: 63.91 kB / 451 MB, free: 10.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1181, allocations: 56.08 MB / 0.4952 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003721/0.1218, allocations: 2.379 MB / 0.4975 GB, free: 32 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1228, allocations: 491.5 kB / 0.498 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.123, allocations: 15.81 kB / 0.498 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1232, allocations: 75.25 kB / 0.4981 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.1233, allocations: 31.56 kB / 0.4981 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.124, allocations: 283.4 kB / 0.4984 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.125, allocations: 0.7341 MB / 0.4991 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1251, allocations: 65.75 kB / 0.4992 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.1254, allocations: 239.3 kB / 0.4994 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1258, allocations: 246.9 kB / 0.4996 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.1259, allocations: 48 kB / 0.4997 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.126, allocations: 44 kB / 0.4997 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1261, allocations: 131.5 kB / 0.4999 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1264, allocations: 274.5 kB / 0.5001 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.127, allocations: 0.5094 MB / 0.5006 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.127, allocations: 0 / 0.5006 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.127, allocations: 4 kB / 0.5006 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.127, allocations: 0 / 0.5006 GB, free: 12.86 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.001431/0.1284, allocations: 0.8162 MB / 0.5014 GB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1285, allocations: 8.031 kB / 0.5014 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.1286, allocations: 90.7 kB / 0.5015 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.1287, allocations: 72.52 kB / 0.5016 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.1293, allocations: 345.3 kB / 0.5019 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.1293, allocations: 33.38 kB / 0.5019 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.1294, allocations: 64.27 kB / 0.502 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.1304, allocations: 0.495 MB / 0.5025 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1304, allocations: 7.938 kB / 0.5025 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.1304, allocations: 20 kB / 0.5025 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1305, allocations: 8 kB / 0.5025 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.1312, allocations: 379.8 kB / 0.5029 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1336, allocations: 1.305 MB / 0.5042 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.1342, allocations: 219.8 kB / 0.5044 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.1346, allocations: 157.7 kB / 0.5045 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1346, allocations: 4 kB / 0.5045 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.1352, allocations: 351.4 kB / 0.5049 GB, free: 8.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.593e-06/0.1352, allocations: 0 / 0.5049 GB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001675/0.1368, allocations: 0.8288 MB / 0.5057 GB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.137, allocations: 219.9 kB / 0.5059 GB, free: 7.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.1376, allocations: 453.7 kB / 0.5063 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.1376, allocations: 45.69 kB / 0.5064 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.1379, allocations: 260.6 kB / 0.5066 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.138, allocations: 150.8 kB / 0.5067 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.1382, allocations: 134.3 kB / 0.5069 GB, free: 6.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1384, allocations: 370.7 kB / 0.5072 GB, free: 5.809 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.8188070760006667] Failed to read output from testmodel.py, exit status != 0: 0.14656747700064443 0.38971523 0.259922086 Calling exit ...