Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.001295/0.001295, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001349/0.001349, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.06206/0.06206, allocations: 11.33 MB / 320.9 MB, free: 14.11 MB / 254.1 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.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 66.75 kB / 446.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1062, allocations: 56.01 MB / 0.4908 GB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004618/0.1108, allocations: 3.125 MB / 0.4938 GB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.1165, allocations: 2.352 MB / 0.4961 GB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/0.1174, allocations: 47.5 kB / 0.4962 GB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.1188, allocations: 402.2 kB / 0.4965 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.1199, allocations: 366.3 kB / 0.4969 GB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.1222, allocations: 0.7691 MB / 0.4976 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.124, allocations: 1.202 MB / 0.4988 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.1244, allocations: 109.2 kB / 0.4989 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009118/0.1253, allocations: 0.5021 MB / 0.4994 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000911/0.1262, allocations: 0.5096 MB / 0.4999 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.1264, allocations: 60 kB / 0.5 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.1271, allocations: 319.7 kB / 0.5003 GB, free: 9.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.1275, allocations: 267.1 kB / 0.5005 GB, free: 9.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.128, allocations: 409.9 kB / 0.5009 GB, free: 8.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.1297, allocations: 1.05 MB / 0.5019 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1297, allocations: 0 / 0.5019 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1297, allocations: 0 / 0.5019 GB, free: 7.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.973e-05/0.1297, allocations: 4 kB / 0.5019 GB, free: 7.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002942/0.1327, allocations: 1.517 MB / 0.5034 GB, free: 6.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1327, allocations: 12.03 kB / 0.5034 GB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.946e-05/0.1327, allocations: 21.44 kB / 0.5035 GB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.1329, allocations: 98.69 kB / 0.5036 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.1331, allocations: 120.2 kB / 0.5037 GB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.1344, allocations: 0.7316 MB / 0.5044 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.1344, allocations: 53.42 kB / 0.5044 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1345, allocations: 63.94 kB / 0.5045 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1359, allocations: 0.7718 MB / 0.5053 GB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.136, allocations: 3.938 kB / 0.5053 GB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.136, allocations: 31.97 kB / 0.5053 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.1361, allocations: 19.94 kB / 0.5053 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.137, allocations: 471.6 kB / 0.5058 GB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.1406, allocations: 2.407 MB / 0.5081 GB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1417, allocations: 0.5412 MB / 0.5086 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.1422, allocations: 254.4 kB / 0.5089 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1422, allocations: 8.562 kB / 0.5089 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009427/0.1432, allocations: 0.4998 MB / 0.5094 GB, free: 15.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 4.198e-06/0.1432, allocations: 7.938 kB / 0.5094 GB, free: 15.98 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.661415192007553] Failed to read output from testmodel.py, exit status != 0: 0.15275147702777758 0.16759046800000002 0.034910108 Calling exit ...