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.001738/0.001738, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002059/0.002059, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.06392/0.06392, allocations: 11.32 MB / 320.2 MB, free: 9.527 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.001984/0.001984, allocations: 71.89 kB / 445.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 56.02 MB / 0.4901 GB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004131/0.1253, allocations: 2.717 MB / 0.4927 GB, free: 3.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.127, allocations: 0.8315 MB / 0.4935 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1272, allocations: 31.69 kB / 0.4936 GB, free: 2.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1275, allocations: 91 kB / 0.4936 GB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1277, allocations: 55.34 kB / 0.4937 GB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.1286, allocations: 407.3 kB / 0.4941 GB, free: 1.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008663/0.1295, allocations: 0.8134 MB / 0.4949 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1297, allocations: 86.69 kB / 0.495 GB, free: 0.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.1301, allocations: 307 kB / 0.4953 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.1306, allocations: 306.6 kB / 0.4955 GB, free: 236 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.1306, allocations: 56 kB / 0.4956 GB, free: 180 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1308, allocations: 87.95 kB / 0.4957 GB, free: 92 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.131, allocations: 171.5 kB / 0.4958 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.1313, allocations: 302 kB / 0.4961 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008261/0.1321, allocations: 0.6299 MB / 0.4968 GB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1321, allocations: 0 / 0.4968 GB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1321, allocations: 0 / 0.4968 GB, free: 14.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.1321, allocations: 0 / 0.4968 GB, free: 14.99 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.001911/0.1341, allocations: 1.037 MB / 0.4978 GB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1341, allocations: 8.031 kB / 0.4978 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.1342, allocations: 106.7 kB / 0.4979 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1344, allocations: 80.42 kB / 0.4979 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.1352, allocations: 0.5134 MB / 0.4985 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.1353, allocations: 71.27 kB / 0.4985 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1354, allocations: 60.36 kB / 0.4986 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1366, allocations: 0.6616 MB / 0.4992 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.1366, allocations: 7.953 kB / 0.4992 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.1367, allocations: 24 kB / 0.4993 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.1367, allocations: 19.98 kB / 0.4993 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/0.1376, allocations: 459.6 kB / 0.4997 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.1409, allocations: 2.128 MB / 0.5018 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.1417, allocations: 310.9 kB / 0.5021 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.1422, allocations: 203.1 kB / 0.5023 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.1422, allocations: 15.97 kB / 0.5023 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.1428, allocations: 315.6 kB / 0.5026 GB, free: 8.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.346e-06/0.1428, allocations: 4 kB / 0.5026 GB, free: 8.742 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.949436449998757] Failed to read output from testmodel.py, exit status != 0: 0.1517392700043274 0.38107125299999994 0.24642887299999996 Calling exit ...