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.001704/0.001704, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002144/0.002144, allocations: 223.4 kB / 23.05 MB, free: 5.074 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.06522/0.06522, allocations: 11.35 MB / 324.6 MB, free: 8.219 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="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.001926/0.001926, allocations: 65.78 kB / 451.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 56.06 MB / 0.496 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004237/0.1152, allocations: 2.752 MB / 0.4987 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1169, allocations: 0.8315 MB / 0.4995 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.1173, allocations: 31.62 kB / 0.4995 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1175, allocations: 83.06 kB / 0.4996 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1177, allocations: 59.34 kB / 0.4996 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.1186, allocations: 443.1 kB / 0.5001 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1197, allocations: 0.8564 MB / 0.5009 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1199, allocations: 95.17 kB / 0.501 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.1203, allocations: 314.9 kB / 0.5013 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.1208, allocations: 298.6 kB / 0.5016 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.1209, allocations: 48 kB / 0.5016 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.121, allocations: 95.95 kB / 0.5017 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.1212, allocations: 171.4 kB / 0.5019 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.1215, allocations: 294.2 kB / 0.5022 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.1223, allocations: 0.6222 MB / 0.5028 GB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1223, allocations: 0 / 0.5028 GB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1223, allocations: 0 / 0.5028 GB, free: 11.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1223, allocations: 3.938 kB / 0.5028 GB, free: 11.36 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.001799/0.1241, allocations: 0.9695 MB / 0.5037 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1242, allocations: 12.03 kB / 0.5037 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.566e-05/0.1242, allocations: 13.19 kB / 0.5037 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1243, allocations: 98.7 kB / 0.5038 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1244, allocations: 80.42 kB / 0.5039 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.1252, allocations: 450.6 kB / 0.5043 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.1253, allocations: 75.25 kB / 0.5044 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.1254, allocations: 60.36 kB / 0.5045 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1265, allocations: 0.6614 MB / 0.5051 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.1265, allocations: 15.89 kB / 0.5051 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.1266, allocations: 24 kB / 0.5052 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1266, allocations: 12 kB / 0.5052 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.1275, allocations: 451.6 kB / 0.5056 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.1306, allocations: 2.091 MB / 0.5076 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.1314, allocations: 314.9 kB / 0.5079 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.1318, allocations: 205.6 kB / 0.5081 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1318, allocations: 7.938 kB / 0.5081 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.1324, allocations: 324.1 kB / 0.5085 GB, free: 5.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.1324, allocations: 0 / 0.5085 GB, free: 5.301 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.705730417976156] Failed to read output from testmodel.py, exit status != 0: 0.14123443595599383 0.32944722600000004 0.204629037 Calling exit ...