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.001714/0.001714, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001495/0.001495, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.992 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.06533/0.06533, allocations: 11.34 MB / 323.8 MB, free: 8.328 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.002091/0.002091, allocations: 70.06 kB / 451 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1287, allocations: 56.06 MB / 0.4952 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003733/0.1324, allocations: 2.376 MB / 0.4975 GB, free: 28 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1335, allocations: 491.5 kB / 0.498 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1337, allocations: 19.81 kB / 0.498 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.1339, allocations: 63.33 kB / 0.4981 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.134, allocations: 47.48 kB / 0.4981 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1347, allocations: 275.5 kB / 0.4984 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.1356, allocations: 0.7301 MB / 0.4991 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1358, allocations: 65.73 kB / 0.4992 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.1361, allocations: 239.2 kB / 0.4994 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.1365, allocations: 254.9 kB / 0.4996 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1366, allocations: 44 kB / 0.4997 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.1367, allocations: 48 kB / 0.4997 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1368, allocations: 131.5 kB / 0.4999 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.1371, allocations: 266.5 kB / 0.5001 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.1378, allocations: 0.5094 MB / 0.5006 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1378, allocations: 0 / 0.5006 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1378, allocations: 0 / 0.5006 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1378, allocations: 4 kB / 0.5006 GB, free: 12.86 MB / 382.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.001444/0.1392, allocations: 0.826 MB / 0.5014 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1393, allocations: 8.031 kB / 0.5014 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1394, allocations: 90.7 kB / 0.5015 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1395, allocations: 72.52 kB / 0.5016 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.1401, allocations: 341.4 kB / 0.5019 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.1402, allocations: 33.38 kB / 0.5019 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.1403, allocations: 52.33 kB / 0.502 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.1412, allocations: 0.5066 MB / 0.5025 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1412, allocations: 11.92 kB / 0.5025 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.1413, allocations: 24 kB / 0.5025 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1413, allocations: 11.94 kB / 0.5025 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.142, allocations: 375.8 kB / 0.5029 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.1444, allocations: 1.293 MB / 0.5042 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.145, allocations: 221.8 kB / 0.5044 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.1453, allocations: 165.7 kB / 0.5045 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1454, allocations: 0 / 0.5045 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/0.146, allocations: 351.3 kB / 0.5049 GB, free: 8.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.222e-06/0.146, allocations: 0 / 0.5049 GB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001556/0.1475, allocations: 0.8328 MB / 0.5057 GB, free: 7.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.1477, allocations: 219.8 kB / 0.5059 GB, free: 7.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.1482, allocations: 453.7 kB / 0.5063 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.1483, allocations: 41.7 kB / 0.5064 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1486, allocations: 264.6 kB / 0.5066 GB, free: 6.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1487, allocations: 146.8 kB / 0.5067 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1489, allocations: 138.3 kB / 0.5069 GB, free: 6.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1491, allocations: 370.7 kB / 0.5072 GB, free: 5.801 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.724312620004639] Failed to read output from testmodel.py, exit status != 0: 0.1564587028697133 0.36323011 0.22284810300000002 Calling exit ...