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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.06445/0.06445, allocations: 11.35 MB / 314 MB, free: 14.93 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 437.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1124, allocations: 54.84 MB / 492.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.00382/0.1162, allocations: 2.347 MB / 494.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1174, allocations: 491.6 kB / 495 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1175, allocations: 11.88 kB / 495 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1178, allocations: 71.27 kB / 495.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1179, allocations: 35.55 kB / 495.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.1185, allocations: 243.6 kB / 495.4 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.1194, allocations: 0.6796 MB / 496 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1196, allocations: 61.28 kB / 496.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.1198, allocations: 227.3 kB / 496.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.1202, allocations: 258.9 kB / 496.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.1203, allocations: 44 kB / 496.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.1203, allocations: 48 kB / 496.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1205, allocations: 131.5 kB / 496.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.1208, allocations: 266.5 kB / 497.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.1215, allocations: 0.5095 MB / 497.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1215, allocations: 0 / 497.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1215, allocations: 0 / 497.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1215, allocations: 0 / 497.6 MB, free: 14.07 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.001495/0.123, allocations: 0.9031 MB / 498.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.123, allocations: 15.89 kB / 498.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.1231, allocations: 90.7 kB / 498.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1233, allocations: 68.56 kB / 498.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.1239, allocations: 400.6 kB / 499 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.124, allocations: 41.31 kB / 499.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.1241, allocations: 48.38 kB / 499.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.125, allocations: 0.4988 MB / 499.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.125, allocations: 19.88 kB / 499.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.1251, allocations: 20 kB / 499.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1251, allocations: 12 kB / 499.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.1258, allocations: 375.8 kB / 0.4883 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1283, allocations: 1.332 MB / 0.4896 GB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.1288, allocations: 215 kB / 0.4898 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.1292, allocations: 165.6 kB / 0.49 GB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1292, allocations: 7.984 kB / 0.49 GB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.1298, allocations: 351.3 kB / 0.4903 GB, free: 9.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.144e-06/0.1298, allocations: 8 kB / 0.4903 GB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.001649/0.1314, allocations: 0.83 MB / 0.4911 GB, free: 8.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.1316, allocations: 215.9 kB / 0.4913 GB, free: 8.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.1322, allocations: 457.7 kB / 0.4918 GB, free: 7.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.1323, allocations: 45.7 kB / 0.4918 GB, free: 7.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.1325, allocations: 260.5 kB / 0.4921 GB, free: 7.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.1327, allocations: 158.8 kB / 0.4922 GB, free: 7.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.1328, allocations: 126.2 kB / 0.4923 GB, free: 7.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.1331, allocations: 374.7 kB / 0.4927 GB, free: 6.781 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.5494939708150923] Failed to read output from testmodel.py, exit status != 0: 0.13973851595073938 0.15610721700000002 0.031477321 Calling exit ...