Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.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.001745/0.001745, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001911/0.001911, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.797 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.06303/0.06303, allocations: 11.35 MB / 323.8 MB, free: 8.016 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.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",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.001936/0.001936, allocations: 63.91 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 56.07 MB / 0.4951 GB, free: 2.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004231/0.1088, allocations: 2.54 MB / 0.4976 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1105, allocations: 0.8081 MB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1107, allocations: 31.69 kB / 0.4984 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1109, allocations: 83.06 kB / 0.4985 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.1112, allocations: 63.34 kB / 0.4986 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.1121, allocations: 427.2 kB / 0.499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1131, allocations: 0.8525 MB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1133, allocations: 95.11 kB / 0.4999 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.1137, allocations: 314.9 kB / 0.5002 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.114, allocations: 270.6 kB / 0.5005 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.1141, allocations: 48 kB / 0.5005 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1143, allocations: 95.89 kB / 0.5006 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1145, allocations: 171.4 kB / 0.5008 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.1147, allocations: 238.6 kB / 0.501 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.1154, allocations: 0.6338 MB / 0.5016 GB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1154, allocations: 0 / 0.5016 GB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1154, allocations: 0 / 0.5016 GB, free: 11.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1154, allocations: 0 / 0.5016 GB, free: 11.47 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00171/0.1171, allocations: 0.9656 MB / 0.5026 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1172, allocations: 12.03 kB / 0.5026 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.1173, allocations: 94.7 kB / 0.5027 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1174, allocations: 84.42 kB / 0.5027 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/0.1182, allocations: 454.5 kB / 0.5032 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.1183, allocations: 67.27 kB / 0.5032 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.1184, allocations: 60.36 kB / 0.5033 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1196, allocations: 0.7101 MB / 0.504 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1196, allocations: 3.953 kB / 0.504 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.1197, allocations: 31.98 kB / 0.504 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1197, allocations: 16 kB / 0.504 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1207, allocations: 497.3 kB / 0.5045 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.1239, allocations: 1.978 MB / 0.5065 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.1247, allocations: 350.5 kB / 0.5068 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.1251, allocations: 231.3 kB / 0.507 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1252, allocations: 4 kB / 0.507 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.1258, allocations: 373.8 kB / 0.5074 GB, free: 5.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/0.1258, allocations: 0 / 0.5074 GB, free: 5.324 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.630279889795929] Failed to read output from testmodel.py, exit status != 0: 0.13409340614452958 0.310812358 0.19232694900000002 Calling exit ...