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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 108.5 kB / 18.84 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 190.5 kB / 22.1 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06669/0.06669, allocations: 11.36 MB / 317.4 MB, free: 13.83 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 442.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1023, allocations: 54.89 MB / 497.1 MB, free: 108 kB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004164/0.1064, allocations: 2.73 MB / 499.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1081, allocations: 0.8238 MB / 0.4889 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.1083, allocations: 39.56 kB / 0.4889 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1085, allocations: 83.06 kB / 0.489 GB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1087, allocations: 59.36 kB / 0.4891 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.1096, allocations: 439.1 kB / 0.4895 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009963/0.1106, allocations: 0.8603 MB / 0.4903 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1108, allocations: 91.22 kB / 0.4904 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.1112, allocations: 310.9 kB / 0.4907 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.1116, allocations: 302.5 kB / 0.491 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.518e-05/0.1117, allocations: 52 kB / 0.491 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1119, allocations: 91.91 kB / 0.4911 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.112, allocations: 175.4 kB / 0.4913 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.1123, allocations: 298.2 kB / 0.4916 GB, free: 9.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000705/0.113, allocations: 0.6222 MB / 0.4922 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.113, allocations: 4 kB / 0.4922 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.113, allocations: 4 kB / 0.4922 GB, free: 9.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.113, allocations: 3.938 kB / 0.4922 GB, free: 9.113 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.001775/0.1148, allocations: 0.9656 MB / 0.4931 GB, free: 8.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1149, allocations: 8.031 kB / 0.4931 GB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.115, allocations: 98.7 kB / 0.4932 GB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1151, allocations: 80.45 kB / 0.4933 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.1158, allocations: 450.6 kB / 0.4937 GB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.1159, allocations: 75.25 kB / 0.4938 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.116, allocations: 60.33 kB / 0.4939 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1173, allocations: 0.7062 MB / 0.4946 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.1173, allocations: 0 / 0.4946 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.1174, allocations: 31.92 kB / 0.4946 GB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1174, allocations: 12 kB / 0.4946 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1184, allocations: 497.3 kB / 0.4951 GB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.1215, allocations: 2.084 MB / 0.4971 GB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.1224, allocations: 360.4 kB / 0.4975 GB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.1229, allocations: 239.3 kB / 0.4977 GB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1229, allocations: 4 kB / 0.4977 GB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000632/0.1235, allocations: 361.1 kB / 0.498 GB, free: 2.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.465e-06/0.1235, allocations: 4 kB / 0.498 GB, free: 2.863 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5059271859936416] Failed to read output from testmodel.py, exit status != 0: 0.13140425202436745 0.14874515200000002 0.031237778 Calling exit ...