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.001301/0.001301, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001461/0.001461, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.805 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.06236/0.06236, allocations: 11.34 MB / 323.8 MB, free: 8.027 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.002032/0.002032, allocations: 67.89 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 56.08 MB / 0.4951 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003786/0.1114, allocations: 2.546 MB / 0.4976 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1129, allocations: 0.8081 MB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.1131, allocations: 31.69 kB / 0.4985 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1134, allocations: 91 kB / 0.4985 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1136, allocations: 55.36 kB / 0.4986 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.1144, allocations: 427.3 kB / 0.499 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009159/0.1153, allocations: 0.8486 MB / 0.4998 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1155, allocations: 91.12 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.1158, allocations: 311 kB / 0.5002 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1162, allocations: 278.6 kB / 0.5005 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-05/0.1163, allocations: 52 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1164, allocations: 87.95 kB / 0.5006 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1166, allocations: 171.4 kB / 0.5008 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.1169, allocations: 238.6 kB / 0.501 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.1175, allocations: 0.6339 MB / 0.5016 GB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1175, allocations: 3.938 kB / 0.5016 GB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1175, allocations: 4 kB / 0.5016 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1175, allocations: 0 / 0.5016 GB, free: 11.48 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.00163/0.1192, allocations: 0.9578 MB / 0.5026 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1192, allocations: 12.03 kB / 0.5026 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.1193, allocations: 98.69 kB / 0.5027 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1194, allocations: 84.42 kB / 0.5027 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.1202, allocations: 454.5 kB / 0.5032 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.1203, allocations: 71.27 kB / 0.5033 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/0.1204, allocations: 60.38 kB / 0.5033 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1215, allocations: 0.7062 MB / 0.504 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.1215, allocations: 3.953 kB / 0.504 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.1216, allocations: 27.98 kB / 0.504 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1216, allocations: 15.98 kB / 0.504 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.1225, allocations: 0.4895 MB / 0.5045 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.1255, allocations: 1.978 MB / 0.5065 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.1263, allocations: 352.7 kB / 0.5068 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.1267, allocations: 243.2 kB / 0.507 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1267, allocations: 4 kB / 0.507 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000587/0.1273, allocations: 365.9 kB / 0.5074 GB, free: 5.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.084e-06/0.1273, allocations: 0 / 0.5074 GB, free: 5.332 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5612628669478] Failed to read output from testmodel.py, exit status != 0: 0.13593693124130368 0.326989413 0.20694825800000002 Calling exit ...