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.0006765/0.0006765, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009566/0.001633, allocations: 455.9 kB / 10.43 MB, free: 260 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.0007085/0.0007085, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009509/0.001659, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 1.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08891/1.144, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.02728/0.02728, allocations: 5.886 MB / 250 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004875/0.03216, allocations: 2.12 MB / 252.2 MB, free: 7.145 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.573e-06/1.573e-06, allocations: 0 / 253.5 MB, free: 5.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.528e-05, allocations: 10.05 kB / 253.5 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003232/0.003248, allocations: 2.677 MB / 256.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.00448, allocations: 0.9293 MB / 257.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.004668, allocations: 31.69 kB / 257.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.004816, allocations: 98.94 kB / 257.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.004941, allocations: 59.34 kB / 257.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.005673, allocations: 0.5184 MB / 257.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.006321, allocations: 0.7824 MB / 258.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.006476, allocations: 91.03 kB / 258.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.0069, allocations: 451 kB / 259.1 MB, free: 172 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.007193, allocations: 259.2 kB / 259.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.007257, allocations: 56 kB / 259.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.007385, allocations: 99.91 kB / 259.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.007497, allocations: 139.5 kB / 259.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.007631, allocations: 147.6 kB / 259.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.008027, allocations: 470.1 kB / 260.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.008038, allocations: 0 / 260.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008039, allocations: 0 / 260.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.00805, allocations: 0 / 260.2 MB, free: 15.02 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.00115/0.0092, allocations: 1.073 MB / 261.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.009234, allocations: 12.03 kB / 261.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.862e-05/0.009313, allocations: 106.6 kB / 261.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.009425, allocations: 100.9 kB / 261.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.009949, allocations: 435.2 kB / 262 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.01003, allocations: 75.52 kB / 262 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.01011, allocations: 64.38 kB / 262.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.01078, allocations: 0.5866 MB / 262.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.0108, allocations: 8.141 kB / 262.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.01085, allocations: 24.38 kB / 262.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.01086, allocations: 15.94 kB / 262.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.01119, allocations: 248.2 kB / 263 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.0131, allocations: 1.626 MB / 264.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.01361, allocations: 335.8 kB / 264.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.01383, allocations: 183.4 kB / 265.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.01386, allocations: 8 kB / 265.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.01418, allocations: 320.6 kB / 265.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.304e-06/0.01419, allocations: 0 / 265.4 MB, free: 9.586 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:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5137992035597563]