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.001342/0.001342, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001485/0.001485, allocations: 213.8 kB / 22.99 MB, free: 4.941 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.06553/0.06553, allocations: 11.34 MB / 324.5 MB, free: 8.008 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: translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") [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.002066/0.002066, allocations: 63.91 kB / 452.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1091, allocations: 56.07 MB / 0.4964 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.00368/0.1127, allocations: 2.219 MB / 0.4985 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1137, allocations: 483.6 kB / 0.499 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1139, allocations: 15.81 kB / 0.499 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1141, allocations: 75.25 kB / 0.4991 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1142, allocations: 39.55 kB / 0.4991 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.1149, allocations: 259.5 kB / 0.4994 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.1158, allocations: 0.734 MB / 0.5001 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1159, allocations: 65.47 kB / 0.5002 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.1162, allocations: 235.2 kB / 0.5004 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.1165, allocations: 234.9 kB / 0.5006 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.1166, allocations: 44 kB / 0.5007 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.1167, allocations: 52 kB / 0.5007 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1169, allocations: 127.5 kB / 0.5008 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.1171, allocations: 218.8 kB / 0.501 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.1177, allocations: 0.5211 MB / 0.5015 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1177, allocations: 0 / 0.5015 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1177, allocations: 0 / 0.5015 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1177, allocations: 0 / 0.5015 GB, free: 12.3 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.00138/0.1191, allocations: 0.8221 MB / 0.5023 GB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1191, allocations: 12.03 kB / 0.5024 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1192, allocations: 68.52 kB / 0.5024 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.1199, allocations: 345.4 kB / 0.5027 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.1199, allocations: 33.38 kB / 0.5028 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.12, allocations: 56.33 kB / 0.5028 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.121, allocations: 0.592 MB / 0.5034 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.121, allocations: 8.172 kB / 0.5034 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.1211, allocations: 23.94 kB / 0.5034 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1211, allocations: 8 kB / 0.5035 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.1219, allocations: 479.1 kB / 0.5039 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.1242, allocations: 1.103 MB / 0.505 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.1248, allocations: 306.2 kB / 0.5053 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.1252, allocations: 245.1 kB / 0.5055 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1252, allocations: 3.938 kB / 0.5055 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/0.1258, allocations: 442.7 kB / 0.5059 GB, free: 7.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.276e-06/0.1258, allocations: 3.984 kB / 0.5059 GB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001707/0.1275, allocations: 0.9754 MB / 0.5069 GB, free: 6.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.1277, allocations: 215.9 kB / 0.5071 GB, free: 6.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.1282, allocations: 413.3 kB / 0.5075 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.1282, allocations: 45.69 kB / 0.5075 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.1284, allocations: 272.4 kB / 0.5078 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.1286, allocations: 146.8 kB / 0.5079 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.1287, allocations: 130.3 kB / 0.5081 GB, free: 5.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1289, allocations: 362.8 kB / 0.5084 GB, free: 4.926 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1213:5-1213: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.7860095002688468] Failed to read output from testmodel.py, exit status != 0: 0.13735636696219444 0.31121644600000004 0.190906545 Calling exit ...