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.001625/0.001625, allocations: 105.2 kB / 16.45 MB, free: 6.453 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.001866/0.001866, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.62/1.62, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.0655/0.0655, allocations: 11.32 MB / 320.2 MB, free: 9.391 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",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.002013/0.002013, allocations: 67.91 kB / 445.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1092, allocations: 56.02 MB / 0.4901 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004764/0.114, allocations: 3.126 MB / 0.4931 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.1182, allocations: 2.365 MB / 0.4954 GB, free: 48 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.1187, allocations: 47.5 kB / 0.4955 GB, free: 0 / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1197, allocations: 398.3 kB / 0.4959 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008043/0.1205, allocations: 369.3 kB / 0.4962 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.1223, allocations: 0.7748 MB / 0.497 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.1237, allocations: 1.194 MB / 0.4981 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.1239, allocations: 113.2 kB / 0.4982 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.1245, allocations: 0.4905 MB / 0.4987 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006889/0.1252, allocations: 0.5057 MB / 0.4992 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1253, allocations: 64 kB / 0.4993 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.1259, allocations: 319.7 kB / 0.4996 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.1262, allocations: 267 kB / 0.4998 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.1266, allocations: 410 kB / 0.5002 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1278, allocations: 1.054 MB / 0.5013 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1278, allocations: 0 / 0.5013 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1278, allocations: 0 / 0.5013 GB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1278, allocations: 0 / 0.5013 GB, free: 10.05 MB / 382.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.002488/0.1303, allocations: 1.513 MB / 0.5027 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1304, allocations: 12.03 kB / 0.5027 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.1305, allocations: 106.6 kB / 0.5028 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.1307, allocations: 120.1 kB / 0.503 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1319, allocations: 0.7278 MB / 0.5037 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.1319, allocations: 41.69 kB / 0.5037 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.132, allocations: 71.88 kB / 0.5038 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1334, allocations: 0.7756 MB / 0.5045 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.1334, allocations: 4 kB / 0.5045 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.1335, allocations: 27.98 kB / 0.5046 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1335, allocations: 16 kB / 0.5046 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.1344, allocations: 475.6 kB / 0.505 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.138, allocations: 2.427 MB / 0.5074 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.139, allocations: 0.5296 MB / 0.5079 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.1395, allocations: 266.3 kB / 0.5082 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.1395, allocations: 8.547 kB / 0.5082 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008531/0.1404, allocations: 0.4949 MB / 0.5087 GB, free: 2.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.156e-06/0.1404, allocations: 0 / 0.5087 GB, free: 2.129 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.893545795988757] Failed to read output from testmodel.py, exit status != 0: 0.3609721230022842 0.37220490799999995 0.24183005000000002 Calling exit ...