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.001468/0.001468, 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.001617/0.001617, allocations: 220.7 kB / 22.25 MB, free: 3.578 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.083/1.083, allocations: 230.6 MB / 256 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 179] 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.04566/0.04566, allocations: 11.34 MB / 323.8 MB, free: 7.043 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",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.001684/0.001684, allocations: 72.48 kB / 451.7 MB, free: 35.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1263, allocations: 56.07 MB / 0.4959 GB, free: 11.02 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003268/0.1296, allocations: 2.539 MB / 0.4984 GB, free: 8.473 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1308, allocations: 0.812 MB / 0.4992 GB, free: 7.656 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.131, allocations: 31.69 kB / 0.4992 GB, free: 7.625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1313, allocations: 87 kB / 0.4993 GB, free: 7.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1315, allocations: 59.36 kB / 0.4994 GB, free: 7.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1326, allocations: 423.2 kB / 0.4998 GB, free: 7.066 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.1333, allocations: 0.8602 MB / 0.5006 GB, free: 6.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1335, allocations: 86.97 kB / 0.5007 GB, free: 6.113 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.1338, allocations: 315 kB / 0.501 GB, free: 5.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.134, allocations: 266.6 kB / 0.5012 GB, free: 5.543 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.1341, allocations: 52 kB / 0.5013 GB, free: 5.492 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1342, allocations: 87.95 kB / 0.5014 GB, free: 5.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1344, allocations: 179.3 kB / 0.5015 GB, free: 5.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1346, allocations: 234.6 kB / 0.5018 GB, free: 5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.1352, allocations: 0.6416 MB / 0.5024 GB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1352, allocations: 0 / 0.5024 GB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1352, allocations: 0 / 0.5024 GB, free: 4.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1352, allocations: 0 / 0.5024 GB, free: 4.355 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001213/0.1364, allocations: 0.9618 MB / 0.5033 GB, free: 3.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.1365, allocations: 8.031 kB / 0.5033 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.988e-05/0.1366, allocations: 98.7 kB / 0.5034 GB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1367, allocations: 80.42 kB / 0.5035 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.1373, allocations: 462.5 kB / 0.504 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/0.1373, allocations: 71.27 kB / 0.504 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.1374, allocations: 60.36 kB / 0.5041 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.1382, allocations: 0.7023 MB / 0.5048 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.1383, allocations: 7.953 kB / 0.5048 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.1383, allocations: 27.98 kB / 0.5048 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1383, allocations: 12 kB / 0.5048 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1389, allocations: 0.4895 MB / 0.5053 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.141, allocations: 1.971 MB / 0.5072 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.1415, allocations: 360.2 kB / 0.5076 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.1418, allocations: 239.2 kB / 0.5078 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1418, allocations: 4 kB / 0.5078 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.1422, allocations: 365.9 kB / 0.5081 GB, free: 14.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.334e-06/0.1422, allocations: 0 / 0.5081 GB, free: 14.2 MB / 378.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) - 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/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) - 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/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.3619710551574826]