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.001009/0.001009, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001917/0.001917, allocations: 169.7 kB / 23.28 MB, free: 1.223 MB / 18.57 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.061/1.061, allocations: 177.2 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.0381/0.0381, allocations: 8.613 MB / 268.9 MB, free: 4.762 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 341.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.119e-05, allocations: 9.266 kB / 341.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002607/0.002629, allocations: 2.264 MB / 343.6 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.003477, allocations: 487.5 kB / 344.1 MB, free: 6.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.003649, allocations: 15.81 kB / 344.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.003848, allocations: 75.25 kB / 344.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.003943, allocations: 39.55 kB / 344.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.004552, allocations: 299.3 kB / 344.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.005188, allocations: 0.6167 MB / 345.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.005361, allocations: 61.47 kB / 345.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.005667, allocations: 287.4 kB / 345.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.005916, allocations: 199.4 kB / 345.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.005988, allocations: 48 kB / 345.7 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.006037, allocations: 44 kB / 345.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.006141, allocations: 139.4 kB / 345.9 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.006279, allocations: 171.6 kB / 346 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.006632, allocations: 394.6 kB / 346.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006635, allocations: 0 / 346.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006636, allocations: 0 / 346.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.006642, allocations: 0 / 346.4 MB, free: 4.051 MB / 314.7 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.0008886/0.00753, allocations: 0.912 MB / 347.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.007572, allocations: 8.031 kB / 347.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.007702, allocations: 116.6 kB / 347.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.008176, allocations: 347.3 kB / 347.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.008209, allocations: 33.38 kB / 347.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.008267, allocations: 48.38 kB / 347.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.008731, allocations: 467 kB / 348.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.008751, allocations: 4.141 kB / 348.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.008793, allocations: 24.38 kB / 348.4 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.008805, allocations: 8.375 kB / 348.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.009073, allocations: 274.2 kB / 348.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.01037, allocations: 0.9667 MB / 349.6 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.01074, allocations: 232 kB / 349.8 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.01091, allocations: 172 kB / 350 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.01092, allocations: 4 kB / 350 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.01128, allocations: 370.5 kB / 350.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.01128, allocations: 0 / 350.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008644/0.01215, allocations: 0.7885 MB / 351.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.01226, allocations: 219.8 kB / 351.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.01255, allocations: 442.2 kB / 351.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.01258, allocations: 41.7 kB / 351.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.01276, allocations: 319.1 kB / 352.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.01286, allocations: 158.8 kB / 352.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.01298, allocations: 139.8 kB / 352.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.01316, allocations: 0.5468 MB / 353 MB, free: 13.1 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1248:5-1248: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: 1.8222028850577772]