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.001274/0.001274, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001313/0.001313, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.39/1.39, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.05997/0.05997, allocations: 11.34 MB / 320.9 MB, free: 14.09 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.001857/0.001857, allocations: 70.48 kB / 446.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09098, allocations: 56.01 MB / 0.4908 GB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002885/0.09386, allocations: 2.716 MB / 0.4934 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.09518, allocations: 0.8315 MB / 0.4942 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.0954, allocations: 31.69 kB / 0.4943 GB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.09564, allocations: 83.06 kB / 0.4943 GB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.09586, allocations: 63.34 kB / 0.4944 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.0966, allocations: 399.2 kB / 0.4948 GB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.09742, allocations: 0.8174 MB / 0.4956 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.09761, allocations: 90.67 kB / 0.4957 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.09795, allocations: 310.9 kB / 0.496 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.09832, allocations: 302.6 kB / 0.4962 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.09842, allocations: 48 kB / 0.4963 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.09857, allocations: 91.97 kB / 0.4964 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.09875, allocations: 179.3 kB / 0.4965 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.099, allocations: 286.3 kB / 0.4968 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.09968, allocations: 0.6338 MB / 0.4974 GB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09968, allocations: 0 / 0.4974 GB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09969, allocations: 3.938 kB / 0.4974 GB, free: 12.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.09969, allocations: 0 / 0.4974 GB, free: 12.54 MB / 366.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.001738/0.1014, allocations: 1.037 MB / 0.4985 GB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1015, allocations: 8.031 kB / 0.4985 GB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.079e-05/0.1015, allocations: 13.19 kB / 0.4985 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1016, allocations: 94.7 kB / 0.4986 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1017, allocations: 84.42 kB / 0.4986 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.1025, allocations: 0.5135 MB / 0.4991 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.1025, allocations: 75.19 kB / 0.4992 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.1026, allocations: 60.38 kB / 0.4993 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1037, allocations: 0.6731 MB / 0.4999 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1038, allocations: 3.953 kB / 0.4999 GB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.1038, allocations: 28 kB / 0.5 GB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1038, allocations: 12 kB / 0.5 GB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.1047, allocations: 463.5 kB / 0.5004 GB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.1077, allocations: 2.12 MB / 0.5025 GB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.1086, allocations: 315 kB / 0.5028 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.109, allocations: 201.6 kB / 0.503 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.109, allocations: 4 kB / 0.503 GB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.1096, allocations: 323.5 kB / 0.5033 GB, free: 6.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.1096, allocations: 0 / 0.5033 GB, free: 6.281 MB / 366.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.4462717050337233] Failed to read output from testmodel.py, exit status != 0: 0.11701231199549511 0.130854296 0.028483067 Calling exit ...