Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_initCSstart.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.0006817/0.0006817, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000918/0.0016, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006987/0.0006987, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009054/0.001604, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9822/0.9822, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09351/1.076, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.04142/0.04142, allocations: 9.783 MB / 253.8 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005967/0.04738, allocations: 3.479 MB / 257.2 MB, free: 2.113 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: translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_initCSstart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_initCSstart") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_initCSstart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_initCSstart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.899e-06/1.141e-05, allocations: 6.25 kB / 258.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_initCSstart): time 0.001519/0.001531, allocations: 1.346 MB / 259.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.002446, allocations: 0.7813 MB / 260.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.002576, allocations: 39.56 kB / 260.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.886e-05/0.002655, allocations: 55.3 kB / 260.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.002729, allocations: 39.55 kB / 260.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.00317, allocations: 399.2 kB / 261.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.003522, allocations: 0.4899 MB / 261.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.003646, allocations: 65.17 kB / 261.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.003886, allocations: 291.4 kB / 262 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.004021, allocations: 123.6 kB / 262.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.004053, allocations: 28 kB / 262.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.004158, allocations: 67.95 kB / 262.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.0042, allocations: 55.75 kB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.004257, allocations: 71.75 kB / 262.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.004495, allocations: 262.9 kB / 262.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.004508, allocations: 4 kB / 262.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004509, allocations: 0 / 262.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.004521, allocations: 0 / 262.6 MB, free: 12.72 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007206/0.005242, allocations: 0.7047 MB / 263.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.005269, allocations: 8.031 kB / 263.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.005331, allocations: 52.89 kB / 263.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.005689, allocations: 360.2 kB / 263.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.005754, allocations: 88.55 kB / 263.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.005793, allocations: 28.38 kB / 263.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.006064, allocations: 342.4 kB / 264.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006074, allocations: 4.188 kB / 264.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.006094, allocations: 16.36 kB / 264.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.006104, allocations: 12.12 kB / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.006238, allocations: 125.3 kB / 264.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.007316, allocations: 1.458 MB / 265.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.007568, allocations: 142.4 kB / 265.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.007831, allocations: 108.8 kB / 266 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.007842, allocations: 8 kB / 266 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.007995, allocations: 165.8 kB / 266.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.007996, allocations: 0 / 266.2 MB, free: 8.914 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.) PIDd_AW.cs PIDd_AW.satin PIDd_AW.satDiff PIDd_AW.Iaction when $whenCondition1 then PIDd_AW.satin := PIDd_AW.Iaction + PIDd_AW.Paction + PIDd_AW.Daction; end when; when $whenCondition1 then PIDd_AW.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 5.0 * (PIDd_AW.SP - PIDd_AW.PV) + 0.01 * PIDd_AW.satDiff, 5.0 * (pre(PIDd_AW.SP) - pre(PIDd_AW.PV)) + 0.01 * pre(PIDd_AW.satDiff), pre(PIDd_AW.Iaction), 0.1, 1.0); end when; when $whenCondition1 then PIDd_AW.satDiff := PIDd_AW.cs - PIDd_AW.satin; end when; when $whenCondition1 then PIDd_AW.cs := max(-2.0, min(2.0, PIDd_AW.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: PIDd_AW.cs PIDd_AW.satin PIDd_AW.satDiff PIDd_AW.Iaction equations: when $whenCondition1 then PIDd_AW.satin := PIDd_AW.Iaction + PIDd_AW.Paction + PIDd_AW.Daction; end when; when $whenCondition1 then PIDd_AW.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 5.0 * (PIDd_AW.SP - PIDd_AW.PV) + 0.01 * PIDd_AW.satDiff, 5.0 * (pre(PIDd_AW.SP) - pre(PIDd_AW.PV)) + 0.01 * pre(PIDd_AW.satDiff), pre(PIDd_AW.Iaction), 0.1, 1.0); end when; when $whenCondition1 then PIDd_AW.satDiff := PIDd_AW.cs - PIDd_AW.satin; end when; when $whenCondition1 then PIDd_AW.cs := max(-2.0, min(2.0, PIDd_AW.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.4520268961787224]