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.001596/0.001596, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001303/0.001303, allocations: 220.7 kB / 22.25 MB, free: 3.566 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 1.029/1.029, allocations: 230.6 MB / 256 MB, free: 9.637 MB / 202.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.03962/0.03962, allocations: 11.34 MB / 323.8 MB, free: 7.074 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me_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.001513/0.001513, allocations: 74.27 kB / 451.8 MB, free: 35.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 56.07 MB / 0.4959 GB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004185/0.121, allocations: 2.872 MB / 0.4987 GB, free: 8.172 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.1249, allocations: 2.243 MB / 0.5009 GB, free: 5.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/0.1254, allocations: 43.5 kB / 0.501 GB, free: 5.875 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.1267, allocations: 418.2 kB / 0.5014 GB, free: 5.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008209/0.1275, allocations: 366.4 kB / 0.5017 GB, free: 5.105 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1295, allocations: 0.8015 MB / 0.5025 GB, free: 4.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1309, allocations: 1.241 MB / 0.5037 GB, free: 3.059 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1312, allocations: 109.4 kB / 0.5038 GB, free: 2.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.1319, allocations: 0.4944 MB / 0.5043 GB, free: 2.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.1325, allocations: 489.9 kB / 0.5048 GB, free: 1.957 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1326, allocations: 67.94 kB / 0.5048 GB, free: 1.891 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.1332, allocations: 307.7 kB / 0.5051 GB, free: 1.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.1335, allocations: 271.1 kB / 0.5054 GB, free: 1.324 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.1338, allocations: 322.4 kB / 0.5057 GB, free: 1.008 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.1355, allocations: 1.054 MB / 0.5067 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1355, allocations: 0 / 0.5067 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.967e-06/0.1355, allocations: 0 / 0.5067 GB, free: 15.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.1356, allocations: 4 kB / 0.5067 GB, free: 15.95 MB / 378.7 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.002123/0.1377, allocations: 1.442 MB / 0.5081 GB, free: 14.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/0.1378, allocations: 16.02 kB / 0.5081 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1379, allocations: 102.7 kB / 0.5082 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.138, allocations: 116.2 kB / 0.5083 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.139, allocations: 0.6387 MB / 0.509 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.1391, allocations: 49.67 kB / 0.509 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.1392, allocations: 71.88 kB / 0.5091 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1403, allocations: 0.8242 MB / 0.5099 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1403, allocations: 3.984 kB / 0.5099 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.1404, allocations: 24 kB / 0.5099 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1404, allocations: 16 kB / 0.5099 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.1411, allocations: 0.5224 MB / 0.5104 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.1435, allocations: 2.27 MB / 0.5127 GB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.1442, allocations: 0.5204 MB / 0.5132 GB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.145, allocations: 329.9 kB / 0.5135 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.145, allocations: 8.438 kB / 0.5135 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006744/0.1457, allocations: 0.5603 MB / 0.514 GB, free: 8.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 2.886e-06/0.1457, allocations: 0 / 0.514 GB, free: 8.117 MB / 378.7 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3248052783310413]