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.001711/0.001711, allocations: 110 kB / 18.93 MB, free: 2.945 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.002635/0.002635, allocations: 191 kB / 22.23 MB, free: 5.16 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.563/1.563, allocations: 225.6 MB / 251 MB, free: 13 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.08703/0.08703, allocations: 11.34 MB / 317.6 MB, free: 13.74 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.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: translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.89 kB / 443 MB, free: 6.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1275, allocations: 54.88 MB / 497.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.00532/0.1328, allocations: 3.123 MB / 0.4893 GB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.1378, allocations: 2.219 MB / 0.4915 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.1384, allocations: 51.44 kB / 0.4915 GB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.1396, allocations: 417.8 kB / 0.4919 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1407, allocations: 322.5 kB / 0.4922 GB, free: 9.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.1432, allocations: 0.8703 MB / 0.4931 GB, free: 8.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.1451, allocations: 1.237 MB / 0.4943 GB, free: 7.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.1453, allocations: 105.4 kB / 0.4944 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000778/0.1461, allocations: 498.3 kB / 0.4948 GB, free: 6.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.1468, allocations: 0.5018 MB / 0.4953 GB, free: 6.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.1469, allocations: 60 kB / 0.4954 GB, free: 5.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.1476, allocations: 327.7 kB / 0.4957 GB, free: 5.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.1479, allocations: 267.1 kB / 0.496 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.1483, allocations: 405.9 kB / 0.4963 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.1499, allocations: 1.05 MB / 0.4974 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1499, allocations: 0 / 0.4974 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1499, allocations: 3.984 kB / 0.4974 GB, free: 3.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1499, allocations: 0 / 0.4974 GB, free: 3.918 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.00266/0.1525, allocations: 1.422 MB / 0.4988 GB, free: 2.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1526, allocations: 12.03 kB / 0.4988 GB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.1528, allocations: 120.2 kB / 0.4989 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.154, allocations: 0.6439 MB / 0.4995 GB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.1541, allocations: 41.69 kB / 0.4996 GB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.1542, allocations: 76.11 kB / 0.4996 GB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1556, allocations: 0.7679 MB / 0.5004 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.1556, allocations: 7.953 kB / 0.5004 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.1557, allocations: 27.98 kB / 0.5004 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1557, allocations: 12 kB / 0.5004 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/0.1566, allocations: 471.6 kB / 0.5009 GB, free: 184 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.1606, allocations: 2.379 MB / 0.5032 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1616, allocations: 466 kB / 0.5036 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.1621, allocations: 258.5 kB / 0.5039 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.1622, allocations: 12.44 kB / 0.5039 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009446/0.1631, allocations: 0.4944 MB / 0.5044 GB, free: 12.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.066e-06/0.1631, allocations: 0 / 0.5044 GB, free: 12.46 MB / 382.1 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.05473399348557] Failed to read output from testmodel.py, exit status != 0: 0.17300822120159864 0.383213667 0.230256326 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa9b00a17b0>