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.001369/0.001369, allocations: 114.4 kB / 17.96 MB, free: 3.863 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.00143/0.00143, allocations: 197.5 kB / 21.21 MB, free: 0.6211 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.442/1.442, allocations: 225.6 MB / 249.9 MB, free: 13.34 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.06414/0.06414, allocations: 11.35 MB / 316.4 MB, free: 14 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.001963/0.001963, allocations: 59.89 kB / 441.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1229, allocations: 54.83 MB / 495.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.005503/0.1284, allocations: 3.117 MB / 499 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.1327, allocations: 2.223 MB / 0.4895 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.1332, allocations: 31.69 kB / 0.4895 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1343, allocations: 406.3 kB / 0.4899 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007888/0.1351, allocations: 323.4 kB / 0.4902 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1374, allocations: 0.8343 MB / 0.491 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.1392, allocations: 1.171 MB / 0.4922 GB, free: 8.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1394, allocations: 101 kB / 0.4923 GB, free: 8.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.1402, allocations: 482.3 kB / 0.4927 GB, free: 8.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/0.1409, allocations: 0.498 MB / 0.4932 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.141, allocations: 63.94 kB / 0.4933 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006418/0.1417, allocations: 323.7 kB / 0.4936 GB, free: 7.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.142, allocations: 271 kB / 0.4939 GB, free: 7.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.1424, allocations: 394 kB / 0.4942 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1439, allocations: 1.05 MB / 0.4953 GB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1439, allocations: 0 / 0.4953 GB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1439, allocations: 0 / 0.4953 GB, free: 5.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1439, allocations: 4 kB / 0.4953 GB, free: 5.594 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.003189/0.1471, allocations: 1.501 MB / 0.4967 GB, free: 3.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.696e-05/0.1471, allocations: 19.83 kB / 0.4967 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1473, allocations: 98.69 kB / 0.4968 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.1475, allocations: 116.2 kB / 0.4969 GB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1488, allocations: 0.72 MB / 0.4976 GB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.1489, allocations: 53.66 kB / 0.4977 GB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.149, allocations: 67.92 kB / 0.4978 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.1504, allocations: 0.7756 MB / 0.4985 GB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.1505, allocations: 3.953 kB / 0.4985 GB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.1505, allocations: 27.98 kB / 0.4986 GB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1506, allocations: 16 kB / 0.4986 GB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.1515, allocations: 475.6 kB / 0.499 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/0.1555, allocations: 2.407 MB / 0.5014 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1566, allocations: 0.5407 MB / 0.5019 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.1571, allocations: 262.3 kB / 0.5022 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.1572, allocations: 4.562 kB / 0.5022 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000911/0.1581, allocations: 0.5027 MB / 0.5026 GB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.045e-06/0.1581, allocations: 0 / 0.5026 GB, free: 13.7 MB / 382.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.8305922001600266] Failed to read output from testmodel.py, exit status != 0: 0.16756589990109205 0.40811999 0.03679213699999994 Calling exit ...