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.001309/0.001309, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.001332/0.001332, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.06471/0.06471, allocations: 11.37 MB / 314 MB, free: 14.95 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.001969/0.001969, allocations: 67.89 kB / 437.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.12, allocations: 54.84 MB / 492.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004688/0.1247, allocations: 2.7 MB / 494.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1268, allocations: 0.8315 MB / 495.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.1271, allocations: 23.81 kB / 495.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1274, allocations: 87 kB / 495.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.1276, allocations: 55.36 kB / 495.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.1286, allocations: 407.2 kB / 496.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1296, allocations: 0.8135 MB / 497.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.1299, allocations: 82.75 kB / 497.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.1303, allocations: 295 kB / 497.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.1307, allocations: 306.5 kB / 497.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.1308, allocations: 56 kB / 497.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.131, allocations: 91.95 kB / 497.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.1312, allocations: 167.4 kB / 498 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.1314, allocations: 294.2 kB / 498.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007923/0.1322, allocations: 0.6299 MB / 499 MB, free: 12.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1322, allocations: 0 / 499 MB, free: 12.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1322, allocations: 0 / 499 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1323, allocations: 0 / 499 MB, free: 12.69 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.001918/0.1342, allocations: 1.041 MB / 0.4883 GB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1342, allocations: 11.89 kB / 0.4883 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.1343, allocations: 106.6 kB / 0.4884 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1345, allocations: 80.47 kB / 0.4885 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.1354, allocations: 0.5134 MB / 0.489 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.1355, allocations: 71.27 kB / 0.489 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1356, allocations: 60.33 kB / 0.4891 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1367, allocations: 0.6655 MB / 0.4898 GB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.1368, allocations: 7.984 kB / 0.4898 GB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.1368, allocations: 20 kB / 0.4898 GB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1368, allocations: 12 kB / 0.4898 GB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009574/0.1378, allocations: 459.6 kB / 0.4902 GB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.1413, allocations: 2.131 MB / 0.4923 GB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.1422, allocations: 324.7 kB / 0.4926 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.1426, allocations: 199.9 kB / 0.4928 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1426, allocations: 8 kB / 0.4928 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.1433, allocations: 315.5 kB / 0.4931 GB, free: 6.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.036e-06/0.1433, allocations: 4 kB / 0.4931 GB, free: 6.43 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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.5607512877322733] Failed to read output from testmodel.py, exit status != 0: 0.15141911385580897 0.16663703100000002 0.031467453 Calling exit ...