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.001247/0.001247, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001398/0.001398, allocations: 220 kB / 23.03 MB, free: 4.945 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.06137/0.06137, allocations: 11.33 MB / 324.5 MB, free: 8.051 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.001897/0.001897, allocations: 59.91 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1114, allocations: 56.07 MB / 0.4959 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003446/0.1148, allocations: 2.215 MB / 0.4981 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.1158, allocations: 491.4 kB / 0.4985 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1159, allocations: 15.81 kB / 0.4986 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1161, allocations: 71.33 kB / 0.4986 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1162, allocations: 35.55 kB / 0.4987 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.1168, allocations: 275.5 kB / 0.4989 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008601/0.1176, allocations: 0.7341 MB / 0.4996 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1178, allocations: 61.77 kB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1181, allocations: 243.2 kB / 0.4999 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.1184, allocations: 258.8 kB / 0.5002 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.1185, allocations: 48 kB / 0.5002 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.1186, allocations: 44 kB / 0.5003 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.1187, allocations: 127.5 kB / 0.5004 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.119, allocations: 222.9 kB / 0.5006 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.1195, allocations: 0.5133 MB / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1195, allocations: 0 / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1195, allocations: 0 / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1195, allocations: 0 / 0.5011 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.001323/0.1209, allocations: 0.8201 MB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1209, allocations: 12.03 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.298e-05/0.1209, allocations: 9.188 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.121, allocations: 90.7 kB / 0.502 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1211, allocations: 68.52 kB / 0.5021 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.1217, allocations: 349.3 kB / 0.5024 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.1218, allocations: 37.38 kB / 0.5024 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.1218, allocations: 56.27 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.1228, allocations: 0.5957 MB / 0.5031 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1229, allocations: 11.94 kB / 0.5031 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.1229, allocations: 20 kB / 0.5031 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1229, allocations: 8 kB / 0.5031 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.1237, allocations: 475.1 kB / 0.5036 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1259, allocations: 1.192 MB / 0.5047 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.1265, allocations: 294.3 kB / 0.505 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.1269, allocations: 245.1 kB / 0.5053 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1269, allocations: 4 kB / 0.5053 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.1275, allocations: 437.1 kB / 0.5057 GB, free: 7.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.783e-06/0.1275, allocations: 0 / 0.5057 GB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001597/0.1291, allocations: 0.976 MB / 0.5066 GB, free: 6.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.1292, allocations: 219.8 kB / 0.5068 GB, free: 6.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.1297, allocations: 457.7 kB / 0.5073 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.1298, allocations: 41.7 kB / 0.5073 GB, free: 6.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.13, allocations: 268.6 kB / 0.5076 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1301, allocations: 146.8 kB / 0.5077 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1303, allocations: 134.3 kB / 0.5078 GB, free: 5.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1304, allocations: 378.6 kB / 0.5082 GB, free: 5.199 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.5538904269924387] Failed to read output from testmodel.py, exit status != 0: 0.13716864306479692 0.30425806499999997 0.18223213199999994 Calling exit ...