Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0006747/0.0006747, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009957/0.00167, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.0007382/0.0007382, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009012/0.001639, allocations: 475.7 kB / 11.7 MB, free: 2.465 MB / 13.93 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 0.9553/0.9553, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08336/1.039, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.03016/0.03016, allocations: 5.895 MB / 249.9 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005528/0.03569, allocations: 2.12 MB / 252 MB, free: 7.211 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 253.3 MB, free: 5.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.328e-05, allocations: 2.312 kB / 253.3 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003781/0.003805, allocations: 2.681 MB / 255.9 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005625, allocations: 0.9249 MB / 256.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.005972, allocations: 35.62 kB / 256.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.006204, allocations: 90.98 kB / 257 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.006444, allocations: 67.23 kB / 257.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.007537, allocations: 0.5029 MB / 257.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000952/0.008489, allocations: 0.7901 MB / 258.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.008713, allocations: 90.98 kB / 258.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.009362, allocations: 447 kB / 258.9 MB, free: 344 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.009747, allocations: 255.2 kB / 259.1 MB, free: 88 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.00986, allocations: 56 kB / 259.2 MB, free: 32 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.01007, allocations: 95.95 kB / 259.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01022, allocations: 139.5 kB / 259.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.01041, allocations: 147.6 kB / 259.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.01102, allocations: 470.1 kB / 260 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.01104, allocations: 0 / 260 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01104, allocations: 0 / 260 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.01106, allocations: 0 / 260 MB, free: 15.2 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001494/0.01256, allocations: 1.07 MB / 261.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.0126, allocations: 12.03 kB / 261.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.0127, allocations: 106.6 kB / 261.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.01285, allocations: 100.9 kB / 261.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.01349, allocations: 447.1 kB / 261.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.01356, allocations: 71.58 kB / 261.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.01365, allocations: 64.38 kB / 261.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.01438, allocations: 0.5827 MB / 262.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.01441, allocations: 8.141 kB / 262.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.01445, allocations: 24.38 kB / 262.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.01447, allocations: 19.94 kB / 262.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.01484, allocations: 248.2 kB / 262.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.01705, allocations: 1.634 MB / 264.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.01764, allocations: 327.8 kB / 264.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.01788, allocations: 179.4 kB / 264.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.01792, allocations: 8 kB / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.0183, allocations: 328.5 kB / 265.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.206e-06/0.0183, allocations: 4 kB / 265.2 MB, free: 9.746 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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_s) - pre(R_disc.PV_s)) + 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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_s) - pre(R_disc.PV_s)) + 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.413101578131318]