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.0008273/0.0008273, 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.001024/0.001024, allocations: 169.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.8939/0.8939, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03541/0.03541, allocations: 8.609 MB / 267.8 MB, free: 5.121 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 2.314e-06/2.314e-06, allocations: 0 / 395.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.527e-05, allocations: 9.172 kB / 395.1 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004931/0.004956, allocations: 2.533 MB / 397.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.006302, allocations: 0.8197 MB / 398.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.006607, allocations: 43.56 kB / 398.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.006862, allocations: 87.06 kB / 398.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.007097, allocations: 55.3 kB / 398.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009367/0.008034, allocations: 471 kB / 399.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.008734, allocations: 0.7354 MB / 399.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.00893, allocations: 91 kB / 399.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.009352, allocations: 383.1 kB / 400.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.009627, allocations: 227.3 kB / 400.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.009691, allocations: 52 kB / 400.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.009818, allocations: 87.97 kB / 400.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.01014, allocations: 171.3 kB / 400.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.01032, allocations: 187.5 kB / 401 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.01095, allocations: 0.6501 MB / 401.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01095, allocations: 0 / 401.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01095, allocations: 0 / 401.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.01097, allocations: 0 / 401.6 MB, free: 10.89 MB / 330.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.001405/0.01237, allocations: 0.9617 MB / 402.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.01241, allocations: 8.031 kB / 402.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.603e-05/0.01251, allocations: 106.7 kB / 402.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.01262, allocations: 76.47 kB / 402.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.01319, allocations: 453.9 kB / 403.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.01326, allocations: 67.27 kB / 403.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.01333, allocations: 60.33 kB / 403.3 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/0.01415, allocations: 0.7026 MB / 404 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01417, allocations: 4.188 kB / 404 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.0142, allocations: 28.38 kB / 404.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.01422, allocations: 15.94 kB / 404.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.01483, allocations: 0.4895 MB / 404.6 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.01694, allocations: 1.975 MB / 406.5 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.01752, allocations: 360.5 kB / 406.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.01778, allocations: 243.3 kB / 407.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.01781, allocations: 7.984 kB / 407.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.01831, allocations: 365.3 kB / 407.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.984e-06/0.01831, allocations: 0 / 407.5 MB, free: 4.734 MB / 330.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.797520033083856] Failed to read output from testmodel.py, exit status != 0: 0.026637361384928226 0.204708426 0.19125857100000002 Calling exit ...