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.0009189/0.0009189, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001456/0.001456, allocations: 165.8 kB / 22.45 MB, free: 2.109 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.9471/0.9471, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.04072/0.04072, allocations: 8.608 MB / 267.8 MB, free: 5.117 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",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 395.8 MB, free: 1.895 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.271e-05, allocations: 6.281 kB / 395.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00237/0.002383, allocations: 2.544 MB / 398.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.003379, allocations: 0.812 MB / 399.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.003549, allocations: 35.69 kB / 399.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.003732, allocations: 87.06 kB / 399.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.003902, allocations: 59.23 kB / 399.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.004442, allocations: 474.9 kB / 399.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.004916, allocations: 0.7315 MB / 400.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.005068, allocations: 91 kB / 400.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.005327, allocations: 383.1 kB / 401 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.005544, allocations: 227.3 kB / 401.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.005598, allocations: 52 kB / 401.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.005693, allocations: 87.97 kB / 401.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.005803, allocations: 171.4 kB / 401.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.005933, allocations: 191.4 kB / 401.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.006367, allocations: 0.654 MB / 402.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006369, allocations: 0 / 402.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00637, allocations: 0 / 402.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006375, allocations: 0 / 402.4 MB, free: 11.3 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.001289/0.007664, allocations: 0.9655 MB / 403.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.007698, allocations: 8.031 kB / 403.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.722e-05/0.007775, allocations: 102.7 kB / 403.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.007862, allocations: 76.47 kB / 403.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.008327, allocations: 449.9 kB / 404 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.008382, allocations: 71.27 kB / 404.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.008443, allocations: 60.36 kB / 404.1 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.009155, allocations: 0.7065 MB / 404.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.009172, allocations: 8.188 kB / 404.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.009206, allocations: 24.38 kB / 404.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.009217, allocations: 15.94 kB / 404.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.009794, allocations: 0.4895 MB / 405.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.01155, allocations: 1.971 MB / 407.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.01207, allocations: 353.2 kB / 407.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.01233, allocations: 239.4 kB / 407.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.01236, allocations: 8 kB / 407.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.01272, allocations: 365.4 kB / 408.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.074e-06/0.01272, allocations: 3.938 kB / 408.3 MB, free: 5.145 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.7227882854640484]