Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0009801/0.0009801, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.00118/0.00118, allocations: 217.2 kB / 22.25 MB, free: 3.711 MB / 13.93 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.068/1.068, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.02962/0.02962, allocations: 7.621 MB / 320.1 MB, free: 10.68 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 79.56 kB / 446.8 MB, free: 40.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09249, allocations: 55.06 MB / 0.4901 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003216/0.0957, allocations: 2.563 MB / 0.4926 GB, free: 14.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.09694, allocations: 0.8901 MB / 0.4935 GB, free: 13.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.09714, allocations: 35.62 kB / 0.4935 GB, free: 13.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.09736, allocations: 91 kB / 0.4936 GB, free: 13.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.09756, allocations: 55.36 kB / 0.4936 GB, free: 13.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.09819, allocations: 491.1 kB / 0.4941 GB, free: 12.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.09885, allocations: 0.9188 MB / 0.495 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.09901, allocations: 94.89 kB / 0.4951 GB, free: 11.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.09927, allocations: 342.8 kB / 0.4954 GB, free: 11.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.09958, allocations: 302.6 kB / 0.4957 GB, free: 11.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.09964, allocations: 56 kB / 0.4958 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.09976, allocations: 91.97 kB / 0.4958 GB, free: 11.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.0999, allocations: 183.3 kB / 0.496 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.1001, allocations: 250.5 kB / 0.4963 GB, free: 10.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.1006, allocations: 0.6612 MB / 0.4969 GB, free: 9.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1006, allocations: 0 / 0.4969 GB, free: 9.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1006, allocations: 3.938 kB / 0.4969 GB, free: 9.926 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1006, allocations: 0 / 0.4969 GB, free: 9.926 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001432/0.102, allocations: 1.013 MB / 0.4979 GB, free: 8.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.102, allocations: 8.031 kB / 0.4979 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.1021, allocations: 102.7 kB / 0.498 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.1022, allocations: 84.45 kB / 0.4981 GB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.1027, allocations: 458.6 kB / 0.4985 GB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.1028, allocations: 67.58 kB / 0.4986 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.1028, allocations: 72.3 kB / 0.4987 GB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.1036, allocations: 0.7354 MB / 0.4994 GB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1036, allocations: 7.938 kB / 0.4994 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1036, allocations: 24 kB / 0.4994 GB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1036, allocations: 15.98 kB / 0.4994 GB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.1042, allocations: 0.5094 MB / 0.4999 GB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1061, allocations: 2.023 MB / 0.5019 GB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.1067, allocations: 409.2 kB / 0.5023 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.107, allocations: 272.7 kB / 0.5025 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.107, allocations: 12 kB / 0.5025 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.1074, allocations: 385.9 kB / 0.5029 GB, free: 3.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 1.643e-06/0.1074, allocations: 0 / 0.5029 GB, free: 3.5 MB / 362.7 MB [/var/lib/jenkins/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_s) - pre(R_disc.PV_s)) + 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/jenkins/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_s) - pre(R_disc.PV_s)) + 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/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.082455161958933]