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.001234/0.001234, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001473/0.001473, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.06227/0.06227, allocations: 11.34 MB / 324.6 MB, free: 8.223 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.001978/0.001978, allocations: 71.89 kB / 451.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1139, allocations: 56.07 MB / 0.496 GB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004561/0.1184, allocations: 3.144 MB / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.1225, allocations: 2.379 MB / 0.5014 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.1229, allocations: 43.5 kB / 0.5014 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.1239, allocations: 413.2 kB / 0.5018 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.1246, allocations: 366.3 kB / 0.5022 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.1265, allocations: 0.8181 MB / 0.503 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.1279, allocations: 1.241 MB / 0.5042 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1282, allocations: 117.6 kB / 0.5043 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.1289, allocations: 0.4905 MB / 0.5048 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.1296, allocations: 0.5058 MB / 0.5053 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1297, allocations: 64 kB / 0.5053 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.1302, allocations: 331.7 kB / 0.5056 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.1305, allocations: 267 kB / 0.5059 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.1309, allocations: 405.9 kB / 0.5063 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1321, allocations: 1.058 MB / 0.5073 GB, free: 6.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1321, allocations: 0 / 0.5073 GB, free: 6.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1321, allocations: 0 / 0.5073 GB, free: 6.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1321, allocations: 0 / 0.5073 GB, free: 6.645 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.002258/0.1343, allocations: 1.442 MB / 0.5087 GB, free: 5.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1344, allocations: 12.03 kB / 0.5087 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.959e-05/0.1344, allocations: 21.44 kB / 0.5088 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.1345, allocations: 98.69 kB / 0.5089 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.1347, allocations: 116.2 kB / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1358, allocations: 0.6517 MB / 0.5096 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.1359, allocations: 49.44 kB / 0.5097 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.136, allocations: 67.94 kB / 0.5097 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.1372, allocations: 0.7718 MB / 0.5105 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.1372, allocations: 0 / 0.5105 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.1373, allocations: 27.98 kB / 0.5105 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/0.1374, allocations: 16 kB / 0.5105 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009167/0.1383, allocations: 475.6 kB / 0.511 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.1418, allocations: 2.379 MB / 0.5133 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2094/0.3512, allocations: 468 kB / 0.5137 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.3518, allocations: 260.8 kB / 0.514 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.3518, allocations: 12.09 kB / 0.514 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007893/0.3526, allocations: 0.4941 MB / 0.5145 GB, free: 22.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.186e-06/0.3526, allocations: 1.688 kB / 0.5145 GB, free: 22.92 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6888610229361802] Failed to read output from testmodel.py, exit status != 0: 0.36177005199715495 0.37348614999999996 0.23870869800000002 Calling exit ...