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.001432/0.001432, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001588/0.001588, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.445/1.445, 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.06565/0.06565, allocations: 11.33 MB / 323.8 MB, free: 8.27 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.002268/0.002268, allocations: 67.89 kB / 451 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.117, allocations: 56.07 MB / 0.4952 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004373/0.1214, allocations: 2.746 MB / 0.4979 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1233, allocations: 0.8315 MB / 0.4987 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.1236, allocations: 27.69 kB / 0.4987 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1239, allocations: 91 kB / 0.4988 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1241, allocations: 59.36 kB / 0.4989 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1251, allocations: 435.2 kB / 0.4993 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1263, allocations: 0.8602 MB / 0.5001 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1265, allocations: 103.2 kB / 0.5002 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.127, allocations: 307 kB / 0.5005 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.1275, allocations: 302.6 kB / 0.5008 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1276, allocations: 48 kB / 0.5009 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1278, allocations: 91.91 kB / 0.5009 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.128, allocations: 175.3 kB / 0.5011 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.1283, allocations: 298.2 kB / 0.5014 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008086/0.1291, allocations: 0.6183 MB / 0.502 GB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1291, allocations: 0 / 0.502 GB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1291, allocations: 4 kB / 0.502 GB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.1291, allocations: 3.984 kB / 0.502 GB, free: 11.39 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.00198/0.1311, allocations: 0.9656 MB / 0.503 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1312, allocations: 8.031 kB / 0.503 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.1313, allocations: 98.7 kB / 0.5031 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1314, allocations: 84.41 kB / 0.5031 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/0.1322, allocations: 450.6 kB / 0.5036 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.1323, allocations: 75.25 kB / 0.5036 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.995e-05/0.1324, allocations: 56.38 kB / 0.5037 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1335, allocations: 0.6655 MB / 0.5043 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.1335, allocations: 11.94 kB / 0.5044 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.1336, allocations: 20 kB / 0.5044 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1336, allocations: 12 kB / 0.5044 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/0.1345, allocations: 459.6 kB / 0.5048 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.1377, allocations: 2.095 MB / 0.5069 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.1385, allocations: 315 kB / 0.5072 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.1389, allocations: 201.6 kB / 0.5074 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1389, allocations: 4 kB / 0.5074 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/0.1396, allocations: 324.2 kB / 0.5077 GB, free: 5.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.1396, allocations: 0 / 0.5077 GB, free: 5.359 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.748428038088605] Failed to read output from testmodel.py, exit status != 0: 0.14937999309040606 0.34139208000000004 0.20943804100000002 Calling exit ...