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.001243/0.001243, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001431/0.001431, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06328/0.06328, allocations: 11.33 MB / 324.5 MB, free: 8.043 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.00223/0.00223, allocations: 63.91 kB / 451.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1095, allocations: 56.07 MB / 0.4959 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004179/0.1137, allocations: 2.535 MB / 0.4984 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1155, allocations: 0.8003 MB / 0.4992 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.1158, allocations: 39.62 kB / 0.4992 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1161, allocations: 83.06 kB / 0.4993 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.1164, allocations: 59.36 kB / 0.4993 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1175, allocations: 443.1 kB / 0.4998 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1187, allocations: 0.8525 MB / 0.5006 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1189, allocations: 99.17 kB / 0.5007 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.1194, allocations: 310.9 kB / 0.501 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.1199, allocations: 306.5 kB / 0.5013 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.1201, allocations: 48 kB / 0.5013 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1203, allocations: 99.95 kB / 0.5014 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.1205, allocations: 167.4 kB / 0.5016 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1208, allocations: 234.6 kB / 0.5018 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.1216, allocations: 0.63 MB / 0.5024 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1216, allocations: 0 / 0.5024 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1216, allocations: 0 / 0.5024 GB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.1216, allocations: 0 / 0.5024 GB, free: 11.46 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.002047/0.1237, allocations: 0.9656 MB / 0.5034 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1237, allocations: 12.03 kB / 0.5034 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.416e-05/0.1237, allocations: 13.19 kB / 0.5034 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.1238, allocations: 98.64 kB / 0.5035 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.124, allocations: 88.41 kB / 0.5036 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.1248, allocations: 450.6 kB / 0.504 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.1249, allocations: 67.27 kB / 0.5041 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.125, allocations: 60.36 kB / 0.5041 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.1263, allocations: 0.7061 MB / 0.5048 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.1263, allocations: 15.94 kB / 0.5048 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.1264, allocations: 24 kB / 0.5048 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.1264, allocations: 12 kB / 0.5049 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.1274, allocations: 497.3 kB / 0.5053 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.1306, allocations: 1.986 MB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.1314, allocations: 358.1 kB / 0.5076 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.1319, allocations: 235.3 kB / 0.5078 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.1319, allocations: 8 kB / 0.5078 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.1325, allocations: 361.9 kB / 0.5082 GB, free: 5.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/0.1325, allocations: 0 / 0.5082 GB, free: 5.297 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.634022349026054] Failed to read output from testmodel.py, exit status != 0: 0.1416845580097288 0.317722782 0.19363039399999996 Calling exit ...