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.001076/0.001076, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002767, allocations: 447.7 kB / 10.29 MB, free: 420 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.001122/0.001122, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002575, allocations: 480.2 kB / 11.64 MB, free: 2.535 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.147/1.147, allocations: 177.1 MB / 189.5 MB, free: 3.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.17/1.317, allocations: 53.66 MB / 243.2 MB, free: 2.375 MB / 234.7 MB " [Timeout remaining time 179] 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.03637/0.03637, allocations: 8.607 MB / 252.5 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005689/0.04205, allocations: 3.121 MB / 255.6 MB, free: 6.457 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 256.9 MB, free: 5.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.255e-05, allocations: 2.312 kB / 256.9 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00424/0.004262, allocations: 2.637 MB / 259.5 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.006177, allocations: 0.8352 MB / 260.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.006514, allocations: 35.62 kB / 260.4 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.006761, allocations: 91 kB / 260.5 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.006987, allocations: 63.22 kB / 260.5 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.00778, allocations: 455.1 kB / 261 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.008335, allocations: 0.7237 MB / 261.7 MB, free: 396 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.008515, allocations: 94.94 kB / 261.8 MB, free: 296 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.008894, allocations: 399.1 kB / 262.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.009174, allocations: 235.3 kB / 262.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-05/0.009237, allocations: 48 kB / 262.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.009377, allocations: 91.95 kB / 262.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.009486, allocations: 131.5 kB / 262.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.009615, allocations: 139.6 kB / 262.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.01012, allocations: 450.1 kB / 263.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.01013, allocations: 0 / 263.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01013, allocations: 0 / 263.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.01015, allocations: 0 / 263.2 MB, free: 14.82 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001203/0.01135, allocations: 0.9092 MB / 264.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.0114, allocations: 15.97 kB / 264.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.01147, allocations: 102.6 kB / 264.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.01161, allocations: 100.9 kB / 264.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.01216, allocations: 427.3 kB / 264.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.01225, allocations: 71.25 kB / 264.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.01232, allocations: 60.33 kB / 264.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.01288, allocations: 0.5575 MB / 265.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.01291, allocations: 12.11 kB / 265.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.01294, allocations: 24.38 kB / 265.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.01295, allocations: 19.92 kB / 265.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.01322, allocations: 231.4 kB / 265.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.01495, allocations: 1.609 MB / 267.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.01536, allocations: 287.3 kB / 267.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.01548, allocations: 143.5 kB / 267.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.01552, allocations: 11.98 kB / 267.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.01577, allocations: 300.3 kB / 268.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.023e-06/0.01578, allocations: 0 / 268.1 MB, free: 9.73 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) - 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/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) - 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/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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7317376332357526]