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.001237/0.001237, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001482/0.001482, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06285/0.06285, allocations: 11.34 MB / 324.6 MB, free: 8.133 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.002016/0.002016, allocations: 71.89 kB / 451.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 56.06 MB / 0.4959 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004557/0.1154, allocations: 2.882 MB / 0.4987 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.1194, allocations: 2.239 MB / 0.5009 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.1198, allocations: 43.5 kB / 0.501 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1208, allocations: 410.2 kB / 0.5013 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007923/0.1216, allocations: 369.4 kB / 0.5017 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.1236, allocations: 0.8172 MB / 0.5025 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1253, allocations: 1.245 MB / 0.5037 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.1255, allocations: 109.6 kB / 0.5038 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.1262, allocations: 0.4983 MB / 0.5043 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.1268, allocations: 0.5097 MB / 0.5048 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.127, allocations: 60 kB / 0.5049 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005588/0.1275, allocations: 323.7 kB / 0.5052 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.1278, allocations: 263.1 kB / 0.5054 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.1282, allocations: 326.4 kB / 0.5057 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1296, allocations: 1.058 MB / 0.5068 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1296, allocations: 7.922 kB / 0.5068 GB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1296, allocations: 0 / 0.5068 GB, free: 6.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1296, allocations: 0 / 0.5068 GB, free: 6.992 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.002591/0.1322, allocations: 1.438 MB / 0.5082 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1323, allocations: 12.03 kB / 0.5082 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.568e-05/0.1323, allocations: 13.5 kB / 0.5082 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.1324, allocations: 102.7 kB / 0.5083 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.1326, allocations: 124.1 kB / 0.5084 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1337, allocations: 0.6464 MB / 0.509 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.1338, allocations: 49.42 kB / 0.5091 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1339, allocations: 75.92 kB / 0.5092 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1353, allocations: 0.88 MB / 0.51 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.1353, allocations: 4 kB / 0.51 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.1354, allocations: 27.94 kB / 0.5101 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1354, allocations: 12 kB / 0.5101 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009127/0.1363, allocations: 0.5302 MB / 0.5106 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.1396, allocations: 2.27 MB / 0.5128 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2204/0.36, allocations: 0.5181 MB / 0.5133 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.3609, allocations: 325.7 kB / 0.5136 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.3609, allocations: 6.375 kB / 0.5136 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008971/0.3618, allocations: 0.5582 MB / 0.5142 GB, free: 23.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.978e-06/0.3618, allocations: 0 / 0.5142 GB, free: 23.05 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6812967100413516] Failed to read output from testmodel.py, exit status != 0: 0.37102137005422264 0.38321515199999995 0.25075947400000004 Calling exit ...