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.001283/0.001283, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001513/0.001513, allocations: 216 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.031 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.08784/0.08784, allocations: 11.34 MB / 323.8 MB, free: 8.25 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="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: 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.002167/0.002167, allocations: 67.89 kB / 451 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 56.07 MB / 0.4952 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004714/0.119, allocations: 3.146 MB / 0.4983 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.1232, allocations: 2.375 MB / 0.5006 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.1236, allocations: 47.5 kB / 0.5007 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1247, allocations: 414.2 kB / 0.5011 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008288/0.1255, allocations: 370.3 kB / 0.5014 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1274, allocations: 0.8086 MB / 0.5022 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.129, allocations: 1.253 MB / 0.5034 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1293, allocations: 105.7 kB / 0.5035 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/0.1301, allocations: 0.4944 MB / 0.504 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.1307, allocations: 0.5058 MB / 0.5045 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1309, allocations: 64 kB / 0.5046 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006548/0.1315, allocations: 327.7 kB / 0.5049 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.1318, allocations: 267 kB / 0.5051 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.1322, allocations: 409.9 kB / 0.5055 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1335, allocations: 1.058 MB / 0.5066 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1335, allocations: 0 / 0.5066 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1335, allocations: 0 / 0.5066 GB, free: 6.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1335, allocations: 0 / 0.5066 GB, free: 6.699 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.002482/0.136, allocations: 1.438 MB / 0.508 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.136, allocations: 8.031 kB / 0.508 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.1362, allocations: 106.6 kB / 0.5081 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.1364, allocations: 124.2 kB / 0.5082 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1375, allocations: 0.6439 MB / 0.5088 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.1376, allocations: 49.67 kB / 0.5089 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1377, allocations: 63.89 kB / 0.5089 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.139, allocations: 0.7834 MB / 0.5097 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.139, allocations: 0 / 0.5097 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.1391, allocations: 27.98 kB / 0.5097 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1391, allocations: 16 kB / 0.5097 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009184/0.14, allocations: 463.6 kB / 0.5102 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.1436, allocations: 2.391 MB / 0.5125 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1928/0.3364, allocations: 464.1 kB / 0.513 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.3369, allocations: 261.5 kB / 0.5132 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.337, allocations: 8.469 kB / 0.5132 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007396/0.3377, allocations: 0.4951 MB / 0.5137 GB, free: 22.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.146e-06/0.3377, allocations: 0 / 0.5137 GB, free: 22.86 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.7968788770012907] Failed to read output from testmodel.py, exit status != 0: 0.34695856700273 0.35934465699999996 0.22300798299999997 Calling exit ...