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.001233/0.001233, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001377/0.001377, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 8 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.06313/0.06313, allocations: 11.33 MB / 324.6 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/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.001981/0.001981, allocations: 64.14 kB / 451.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1128, allocations: 56.07 MB / 0.496 GB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003754/0.1166, allocations: 2.378 MB / 0.4983 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1176, allocations: 491.5 kB / 0.4988 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1177, allocations: 19.81 kB / 0.4988 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1179, allocations: 71.27 kB / 0.4989 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.118, allocations: 35.55 kB / 0.4989 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.1186, allocations: 279.5 kB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.1195, allocations: 0.7379 MB / 0.4999 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1196, allocations: 61.77 kB / 0.5 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.1199, allocations: 239.2 kB / 0.5002 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.1202, allocations: 250.9 kB / 0.5004 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.1203, allocations: 44 kB / 0.5005 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.1204, allocations: 48 kB / 0.5005 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1206, allocations: 131.5 kB / 0.5006 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.121, allocations: 270.5 kB / 0.5009 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.1216, allocations: 0.5055 MB / 0.5014 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1216, allocations: 4 kB / 0.5014 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1216, allocations: 0 / 0.5014 GB, free: 12.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1216, allocations: 4 kB / 0.5014 GB, free: 12.78 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.001567/0.1232, allocations: 0.8162 MB / 0.5022 GB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1232, allocations: 12.03 kB / 0.5022 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.199e-05/0.1232, allocations: 17.12 kB / 0.5022 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.34e-05/0.1233, allocations: 86.7 kB / 0.5023 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1234, allocations: 72.52 kB / 0.5024 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.124, allocations: 337.4 kB / 0.5027 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.124, allocations: 37.38 kB / 0.5027 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.1241, allocations: 64.25 kB / 0.5028 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.125, allocations: 0.4987 MB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.125, allocations: 4 kB / 0.5033 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.125, allocations: 20 kB / 0.5033 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.125, allocations: 8 kB / 0.5033 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.1257, allocations: 375.8 kB / 0.5037 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.128, allocations: 1.309 MB / 0.5049 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.1286, allocations: 206.9 kB / 0.5051 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.1289, allocations: 165.7 kB / 0.5053 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1289, allocations: 4 kB / 0.5053 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/0.1294, allocations: 351.3 kB / 0.5056 GB, free: 8.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.282e-06/0.1294, allocations: 0 / 0.5056 GB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001517/0.131, allocations: 0.8288 MB / 0.5064 GB, free: 7.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.1311, allocations: 215.9 kB / 0.5066 GB, free: 7.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1316, allocations: 465.6 kB / 0.5071 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.1317, allocations: 37.7 kB / 0.5071 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1319, allocations: 264.6 kB / 0.5074 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.132, allocations: 146.8 kB / 0.5075 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.1323, allocations: 134.3 kB / 0.5077 GB, free: 6.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1325, allocations: 374.7 kB / 0.508 GB, free: 5.719 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.550212234025821] Failed to read output from testmodel.py, exit status != 0: 0.14028077805414796 0.32468024700000003 0.200703336 Calling exit ...