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.0008062/0.0008062, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000845/0.000845, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.03422/0.03422, allocations: 8.615 MB / 267.8 MB, free: 5.129 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: "" <> 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 1.403e-06/1.403e-06, allocations: 0 / 395.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.615e-05, allocations: 6.219 kB / 395.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002662/0.002678, allocations: 2.544 MB / 397.6 MB, free: 132 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.003916, allocations: 0.812 MB / 398.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.004151, allocations: 35.62 kB / 398.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.004371, allocations: 87.06 kB / 398.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.004567, allocations: 63.23 kB / 398.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.005369, allocations: 467 kB / 399.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.005929, allocations: 0.7393 MB / 399.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.006097, allocations: 91 kB / 399.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.006432, allocations: 383.1 kB / 400.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.006692, allocations: 227.3 kB / 400.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.00675, allocations: 52 kB / 400.5 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.006868, allocations: 83.97 kB / 400.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.006997, allocations: 167.4 kB / 400.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.007144, allocations: 199.4 kB / 401 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.00769, allocations: 0.6579 MB / 401.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.007691, allocations: 0 / 401.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007693, allocations: 0 / 401.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.007703, allocations: 0 / 401.6 MB, free: 12.09 MB / 378.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.001146/0.008849, allocations: 0.9539 MB / 402.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.008886, allocations: 12.03 kB / 402.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.008961, allocations: 98.69 kB / 402.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.009053, allocations: 80.47 kB / 402.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.009536, allocations: 457.8 kB / 403.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.009594, allocations: 67.27 kB / 403.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.009663, allocations: 56.38 kB / 403.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.01058, allocations: 0.7104 MB / 404 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.01062, allocations: 192 / 404 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.01066, allocations: 24.38 kB / 404.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01067, allocations: 15.94 kB / 404.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.01141, allocations: 0.4973 MB / 404.6 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.01372, allocations: 1.963 MB / 406.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.01436, allocations: 364.7 kB / 406.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.01467, allocations: 239.4 kB / 407.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.01471, allocations: 7.984 kB / 407.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.01514, allocations: 373.3 kB / 407.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 3.617e-06/0.01514, allocations: 0 / 407.5 MB, free: 5.938 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6365687064826488] Failed to read output from testmodel.py, exit status != 0: 0.02211895864456892 0.032244839000000004 0.022641876000000002 Calling exit ...