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.001353/0.001353, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001453/0.001453, allocations: 197.2 kB / 20.08 MB, free: 3 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.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.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.09725/0.09725, allocations: 11.34 MB / 314.7 MB, free: 0.8516 MB / 238.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: 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 0.002054/0.002054, allocations: 63.91 kB / 438.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2465, allocations: 54.82 MB / 493.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003052/0.2496, allocations: 2.357 MB / 495.7 MB, free: 22.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.2504, allocations: 490.5 kB / 496.2 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2506, allocations: 17.38 kB / 496.2 MB, free: 22.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.2508, allocations: 68.02 kB / 496.2 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.2509, allocations: 41.02 kB / 496.3 MB, free: 22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.2514, allocations: 238.1 kB / 496.5 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.2521, allocations: 0.6868 MB / 497.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2522, allocations: 58.16 kB / 497.3 MB, free: 21.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.2525, allocations: 236.5 kB / 497.5 MB, free: 21.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.2528, allocations: 254.3 kB / 497.7 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.2529, allocations: 46.88 kB / 497.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.2529, allocations: 45.88 kB / 497.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2531, allocations: 126.9 kB / 498 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.2533, allocations: 269.5 kB / 498.2 MB, free: 21.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.2538, allocations: 0.5114 MB / 498.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2538, allocations: 1.312 kB / 498.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2538, allocations: 0 / 498.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.2538, allocations: 0 / 498.7 MB, free: 20.77 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.001148/0.2549, allocations: 0.9005 MB / 499.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.255, allocations: 13.92 kB / 499.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2551, allocations: 67.5 kB / 499.7 MB, free: 19.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.2556, allocations: 410.4 kB / 0.4884 GB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.2556, allocations: 37.52 kB / 0.4884 GB, free: 19.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.2557, allocations: 50.78 kB / 0.4885 GB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.2565, allocations: 0.4958 MB / 0.489 GB, free: 19.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.2565, allocations: 9.953 kB / 0.489 GB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.2565, allocations: 26.72 kB / 0.489 GB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2565, allocations: 8.969 kB / 0.489 GB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.2572, allocations: 383.6 kB / 0.4894 GB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2591, allocations: 1.317 MB / 0.4907 GB, free: 18.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.2596, allocations: 217.5 kB / 0.4909 GB, free: 17.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.2599, allocations: 168.1 kB / 0.491 GB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2599, allocations: 2.469 kB / 0.491 GB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.2604, allocations: 359.1 kB / 0.4914 GB, free: 17.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.373e-06/0.2604, allocations: 7.938 kB / 0.4914 GB, free: 17.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00137/0.2617, allocations: 0.8301 MB / 0.4922 GB, free: 17.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.2618, allocations: 214 kB / 0.4924 GB, free: 16.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.2622, allocations: 457.2 kB / 0.4928 GB, free: 16.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.2622, allocations: 40.36 kB / 0.4929 GB, free: 16.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2624, allocations: 267.7 kB / 0.4931 GB, free: 16.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.2625, allocations: 151.4 kB / 0.4933 GB, free: 16.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2626, allocations: 133.6 kB / 0.4934 GB, free: 16.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.2627, allocations: 372.8 kB / 0.4938 GB, free: 15.81 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.64694606885314] Failed to read output from testmodel.py, exit status != 0: 0.2704858749639243 0.27968473 0.023918237000000002 Calling exit ...