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.001332/0.001332, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001511/0.001511, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.996 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.06617/0.06617, allocations: 11.33 MB / 323.8 MB, free: 8.227 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.002079/0.002079, allocations: 67.89 kB / 451 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 56.07 MB / 0.4952 GB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004357/0.1247, allocations: 2.739 MB / 0.4979 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1265, allocations: 0.8314 MB / 0.4987 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.1268, allocations: 35.62 kB / 0.4987 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1271, allocations: 87.06 kB / 0.4988 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1273, allocations: 63.33 kB / 0.4989 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.1282, allocations: 431.2 kB / 0.4993 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.1292, allocations: 0.8641 MB / 0.5001 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1295, allocations: 97.36 kB / 0.5002 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.1299, allocations: 311 kB / 0.5005 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.1303, allocations: 298.6 kB / 0.5008 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/0.1304, allocations: 52 kB / 0.5009 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.1306, allocations: 87.95 kB / 0.5009 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1308, allocations: 175.4 kB / 0.5011 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.1311, allocations: 298.2 kB / 0.5014 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007293/0.1318, allocations: 0.6222 MB / 0.502 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1318, allocations: 0 / 0.502 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1318, allocations: 0 / 0.502 GB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1318, allocations: 4 kB / 0.502 GB, free: 11.34 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.001776/0.1336, allocations: 0.9656 MB / 0.503 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1336, allocations: 8.031 kB / 0.503 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.1338, allocations: 98.69 kB / 0.5031 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1339, allocations: 84.42 kB / 0.5031 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.1347, allocations: 446.6 kB / 0.5036 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.1348, allocations: 75.25 kB / 0.5036 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1349, allocations: 60.38 kB / 0.5037 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.136, allocations: 0.6694 MB / 0.5043 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.136, allocations: 11.95 kB / 0.5044 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.1361, allocations: 20 kB / 0.5044 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.1361, allocations: 15.98 kB / 0.5044 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.137, allocations: 455.6 kB / 0.5048 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.1402, allocations: 2.087 MB / 0.5069 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.141, allocations: 325.8 kB / 0.5072 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.1414, allocations: 193.6 kB / 0.5074 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1415, allocations: 4 kB / 0.5074 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006005/0.1421, allocations: 328.2 kB / 0.5077 GB, free: 5.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.053e-06/0.1421, allocations: 0 / 0.5077 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.758762688994466] Failed to read output from testmodel.py, exit status != 0: 0.15089147199614672 0.340423085 0.205154253 Calling exit ...