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.0008794/0.0008794, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001033/0.001033, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.9276/0.9276, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.03563/0.03563, allocations: 8.61 MB / 267.8 MB, free: 5.102 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: "" <> 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 2.144e-06/2.144e-06, allocations: 0 / 395.1 MB, free: 2.645 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.435e-05, allocations: 6.219 kB / 395.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002829/0.002853, allocations: 2.224 MB / 397.3 MB, free: 412 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.003797, allocations: 491.4 kB / 397.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.00398, allocations: 19.81 kB / 397.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.004174, allocations: 71.25 kB / 397.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.004264, allocations: 43.55 kB / 397.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.004924, allocations: 291.4 kB / 398.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.005475, allocations: 0.6169 MB / 398.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.005625, allocations: 65.42 kB / 398.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.005866, allocations: 291.4 kB / 399.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.006075, allocations: 195.4 kB / 399.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.006129, allocations: 44 kB / 399.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.00617, allocations: 52 kB / 399.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.006264, allocations: 123.5 kB / 399.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.006394, allocations: 171.6 kB / 399.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.006837, allocations: 0.549 MB / 400.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006839, allocations: 0 / 400.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006841, allocations: 0 / 400.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.00685, allocations: 0 / 400.3 MB, free: 13.41 MB / 378.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.001077/0.007927, allocations: 0.8123 MB / 401.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.007968, allocations: 8.031 kB / 401.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.772e-05/0.008046, allocations: 94.7 kB / 401.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.008132, allocations: 72.52 kB / 401.3 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.008568, allocations: 340.6 kB / 401.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.008601, allocations: 37.38 kB / 401.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.008662, allocations: 52.33 kB / 401.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.009312, allocations: 0.5959 MB / 402.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.00933, allocations: 4.188 kB / 402.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.009365, allocations: 24.38 kB / 402.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.009374, allocations: 12.12 kB / 402.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.009858, allocations: 475.1 kB / 402.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.01132, allocations: 1.185 MB / 404 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.01174, allocations: 294.4 kB / 404.3 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.01198, allocations: 249.1 kB / 404.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.01199, allocations: 7.938 kB / 404.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.0124, allocations: 439.2 kB / 404.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.323e-06/0.0124, allocations: 0 / 404.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.001034/0.01344, allocations: 0.9799 MB / 405.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.01353, allocations: 211.9 kB / 406.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.01385, allocations: 465.7 kB / 406.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.01388, allocations: 45.64 kB / 406.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.01402, allocations: 264.5 kB / 406.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.0141, allocations: 150.8 kB / 407 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.01421, allocations: 130.3 kB / 407.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01431, allocations: 374.8 kB / 407.5 MB, free: 5.785 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1220:5-1220: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.6951923472806811] Failed to read output from testmodel.py, exit status != 0: 0.01966949924826622 0.031039603000000002 0.021601310000000002 Calling exit ...