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.001034/0.001034, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001142/0.001142, allocations: 165.8 kB / 22.45 MB, free: 2.109 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.9808/0.9808, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03926/0.03926, allocations: 8.61 MB / 267.8 MB, free: 5.121 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 395.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.329e-05, allocations: 6.219 kB / 395.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.00253/0.002544, allocations: 2.22 MB / 398.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007618/0.003305, allocations: 0.4916 MB / 398.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.00346, allocations: 11.88 kB / 398.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.003642, allocations: 75.25 kB / 398.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.003723, allocations: 43.55 kB / 398.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.004248, allocations: 287.3 kB / 399 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.004874, allocations: 0.6169 MB / 399.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.005032, allocations: 61.42 kB / 399.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.005274, allocations: 287.4 kB / 399.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.005485, allocations: 195.4 kB / 400.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.005547, allocations: 48 kB / 400.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.005595, allocations: 44 kB / 400.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.005698, allocations: 131.5 kB / 400.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.00584, allocations: 171.6 kB / 400.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.00625, allocations: 0.549 MB / 401.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.006252, allocations: 0 / 401.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006253, allocations: 0 / 401.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.00626, allocations: 0 / 401.1 MB, free: 12.66 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.0009124/0.007172, allocations: 0.8084 MB / 401.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.007209, allocations: 12.03 kB / 401.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.333e-05/0.007282, allocations: 90.7 kB / 402 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.00736, allocations: 72.52 kB / 402 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.00776, allocations: 344.6 kB / 402.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.007789, allocations: 33.38 kB / 402.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.007848, allocations: 56.33 kB / 402.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.008574, allocations: 0.5959 MB / 403.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.008592, allocations: 192 / 403.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.008628, allocations: 24.38 kB / 403.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/0.008891, allocations: 16.11 kB / 403.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.009418, allocations: 479.1 kB / 403.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.01091, allocations: 1.189 MB / 404.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.01134, allocations: 294.3 kB / 405 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.01158, allocations: 253.1 kB / 405.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.01159, allocations: 0 / 405.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.01199, allocations: 439.2 kB / 405.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 9.12e-07/0.01199, allocations: 4 kB / 405.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.001057/0.01305, allocations: 0.9682 MB / 406.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.01313, allocations: 223.8 kB / 406.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.01347, allocations: 461.7 kB / 407.4 MB, free: 6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.0135, allocations: 45.64 kB / 407.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.01367, allocations: 264.5 kB / 407.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.01378, allocations: 150.8 kB / 407.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.01393, allocations: 134.3 kB / 407.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.01409, allocations: 370.8 kB / 408.3 MB, free: 5.031 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.7726775258779526]