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.001298/0.001298, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001473/0.001473, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.785 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.06158/0.06158, allocations: 11.36 MB / 323.8 MB, free: 8 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.001995/0.001995, allocations: 63.91 kB / 451 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 56.08 MB / 0.4952 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003684/0.1111, allocations: 2.216 MB / 0.4973 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1122, allocations: 483.6 kB / 0.4978 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.1124, allocations: 19.81 kB / 0.4978 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1127, allocations: 67.25 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1128, allocations: 43.48 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.1136, allocations: 275.5 kB / 0.4982 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1146, allocations: 0.7185 MB / 0.4989 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1148, allocations: 65.73 kB / 0.4989 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.1151, allocations: 235.3 kB / 0.4992 GB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.1155, allocations: 234.8 kB / 0.4994 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1156, allocations: 44 kB / 0.4994 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.1157, allocations: 48 kB / 0.4995 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1158, allocations: 131.5 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.1161, allocations: 214.9 kB / 0.4998 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.1167, allocations: 0.5211 MB / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1167, allocations: 0 / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1167, allocations: 0 / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1167, allocations: 0 / 0.5003 GB, free: 12.82 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.00145/0.1181, allocations: 0.8162 MB / 0.5011 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1182, allocations: 12.03 kB / 0.5011 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.1183, allocations: 90.7 kB / 0.5012 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1184, allocations: 72.52 kB / 0.5013 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.1191, allocations: 341.3 kB / 0.5016 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.1191, allocations: 37.38 kB / 0.5016 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1192, allocations: 60.31 kB / 0.5017 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1202, allocations: 0.5921 MB / 0.5023 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1202, allocations: 3.938 kB / 0.5023 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.1203, allocations: 24 kB / 0.5023 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1203, allocations: 8 kB / 0.5023 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.1212, allocations: 479.1 kB / 0.5028 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.1236, allocations: 1.2 MB / 0.5039 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.1242, allocations: 307.5 kB / 0.5042 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.1246, allocations: 245 kB / 0.5045 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1246, allocations: 4 kB / 0.5045 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.1252, allocations: 430.8 kB / 0.5049 GB, free: 7.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.613e-06/0.1252, allocations: 0 / 0.5049 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.00162/0.1269, allocations: 0.9721 MB / 0.5058 GB, free: 6.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.127, allocations: 219.9 kB / 0.506 GB, free: 6.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.1275, allocations: 465.7 kB / 0.5065 GB, free: 6.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1275, allocations: 37.7 kB / 0.5065 GB, free: 6.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.1277, allocations: 268.5 kB / 0.5068 GB, free: 5.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1278, allocations: 146.8 kB / 0.5069 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.128, allocations: 134.3 kB / 0.507 GB, free: 5.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1282, allocations: 374.7 kB / 0.5074 GB, free: 5.191 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1213:5-1213: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.623552709352225] Failed to read output from testmodel.py, exit status != 0: 0.13531099678948522 0.308655372 0.18933137199999994 Calling exit ...