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.001939/0.001939, allocations: 109.9 kB / 16.46 MB, free: 6.453 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.002411/0.002411, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.06591/0.06591, allocations: 11.31 MB / 320.2 MB, free: 9.422 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: "" <> 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: 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.002157/0.002157, allocations: 71.89 kB / 445.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 56.01 MB / 0.4901 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003729/0.1283, allocations: 2.369 MB / 0.4924 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1294, allocations: 495.5 kB / 0.4929 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1295, allocations: 15.81 kB / 0.4929 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1298, allocations: 63.33 kB / 0.4929 GB, free: 2.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1299, allocations: 39.48 kB / 0.493 GB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.1304, allocations: 247.6 kB / 0.4932 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.1313, allocations: 0.6874 MB / 0.4939 GB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1314, allocations: 61.56 kB / 0.4939 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.1317, allocations: 239.2 kB / 0.4942 GB, free: 1.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.1321, allocations: 254.9 kB / 0.4944 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.553e-05/0.1321, allocations: 44 kB / 0.4944 GB, free: 1.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.1322, allocations: 48 kB / 0.4945 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1324, allocations: 127.5 kB / 0.4946 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.1326, allocations: 266.5 kB / 0.4949 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.1333, allocations: 0.5133 MB / 0.4954 GB, free: 176 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1333, allocations: 4 kB / 0.4954 GB, free: 172 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1333, allocations: 0 / 0.4954 GB, free: 172 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1333, allocations: 0 / 0.4954 GB, free: 172 kB / 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.001481/0.1348, allocations: 0.8915 MB / 0.4962 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1348, allocations: 12.03 kB / 0.4963 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.1349, allocations: 90.7 kB / 0.4963 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.1351, allocations: 72.52 kB / 0.4964 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.1357, allocations: 404.5 kB / 0.4968 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.1357, allocations: 37.38 kB / 0.4968 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1358, allocations: 56.31 kB / 0.4969 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1368, allocations: 0.5028 MB / 0.4974 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1369, allocations: 7.875 kB / 0.4974 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/0.1369, allocations: 24 kB / 0.4974 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1369, allocations: 8 kB / 0.4974 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/0.1377, allocations: 375.8 kB / 0.4978 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.14, allocations: 1.332 MB / 0.4991 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.1406, allocations: 225.9 kB / 0.4993 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1409, allocations: 161.7 kB / 0.4994 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1409, allocations: 4 kB / 0.4994 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005633/0.1415, allocations: 351.3 kB / 0.4998 GB, free: 11.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.1415, allocations: 0 / 0.4998 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001625/0.1431, allocations: 0.8303 MB / 0.5006 GB, free: 10.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.1433, allocations: 215.8 kB / 0.5008 GB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.1439, allocations: 461.8 kB / 0.5012 GB, free: 9.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1439, allocations: 41.7 kB / 0.5013 GB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1441, allocations: 264.5 kB / 0.5015 GB, free: 9.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1443, allocations: 150.8 kB / 0.5017 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.1444, allocations: 130.2 kB / 0.5018 GB, free: 9.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1446, allocations: 370.7 kB / 0.5021 GB, free: 8.906 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.9034857049991842] Failed to read output from testmodel.py, exit status != 0: 0.1518591850035591 0.34664556299999993 0.211061197 Calling exit ...