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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 106.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.0664/0.0664, allocations: 11.35 MB / 314 MB, free: 14.94 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.88 kB / 437.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 54.83 MB / 492.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004653/0.1079, allocations: 3.104 MB / 495.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.1118, allocations: 2.203 MB / 497.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.1123, allocations: 31.69 kB / 497.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1134, allocations: 412.3 kB / 497.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000739/0.1141, allocations: 322.5 kB / 498.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1163, allocations: 0.8293 MB / 499.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1178, allocations: 1.179 MB / 0.4885 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1181, allocations: 105 kB / 0.4886 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.1188, allocations: 490.3 kB / 0.4891 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.1194, allocations: 0.4979 MB / 0.4896 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1196, allocations: 60 kB / 0.4896 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.1202, allocations: 323.7 kB / 0.4899 GB, free: 9.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.1205, allocations: 271 kB / 0.4902 GB, free: 9.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.1209, allocations: 398 kB / 0.4906 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1222, allocations: 1.046 MB / 0.4916 GB, free: 8.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1222, allocations: 4 kB / 0.4916 GB, free: 8.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1222, allocations: 0 / 0.4916 GB, free: 8.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1222, allocations: 0 / 0.4916 GB, free: 8.223 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.002486/0.1247, allocations: 1.505 MB / 0.4931 GB, free: 6.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1248, allocations: 11.89 kB / 0.4931 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.1249, allocations: 102.7 kB / 0.4932 GB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.1251, allocations: 116.2 kB / 0.4933 GB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.1264, allocations: 0.7239 MB / 0.494 GB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.1264, allocations: 45.67 kB / 0.494 GB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1265, allocations: 71.92 kB / 0.4941 GB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1278, allocations: 0.7717 MB / 0.4949 GB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.1279, allocations: 7.953 kB / 0.4949 GB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.1279, allocations: 27.98 kB / 0.4949 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1279, allocations: 16 kB / 0.4949 GB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.1288, allocations: 471.6 kB / 0.4954 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.1324, allocations: 2.404 MB / 0.4977 GB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/0.1334, allocations: 0.5342 MB / 0.4982 GB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.1339, allocations: 262.3 kB / 0.4985 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.134, allocations: 12.56 kB / 0.4985 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008961/0.1348, allocations: 0.4989 MB / 0.499 GB, free: 336 kB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.577e-06/0.1348, allocations: 4 kB / 0.499 GB, free: 332 kB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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.498732245992869] Failed to read output from testmodel.py, exit status != 0: 0.14388534892350435 0.15892676299999994 0.03382371999999994 Calling exit ...