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.00176/0.00176, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001622/0.001622, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.06556/0.06556, allocations: 8.604 MB / 268.2 MB, free: 4.945 MB / 250.7 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: 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 1.463e-06/1.463e-06, allocations: 0 / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.613e-05, allocations: 12.86 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003671/0.003697, allocations: 2.892 MB / 343 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.00707, allocations: 2.238 MB / 345.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.007546, allocations: 43.5 kB / 345.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.008558, allocations: 414 kB / 345.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.009393, allocations: 370.1 kB / 346.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.0112, allocations: 0.8494 MB / 346.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01229, allocations: 1.132 MB / 348.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.01253, allocations: 105.5 kB / 348.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009449/0.01347, allocations: 0.604 MB / 348.8 MB, free: 44 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.01427, allocations: 418.9 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.01447, allocations: 64 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.01515, allocations: 315.5 kB / 349.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.01555, allocations: 271 kB / 349.8 MB, free: 15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.01597, allocations: 243.7 kB / 350.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.01799, allocations: 1.11 MB / 351.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01799, allocations: 0 / 351.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01799, allocations: 0 / 351.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.4e-05/0.01803, allocations: 0 / 351.2 MB, free: 13.64 MB / 282.7 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.003067/0.02109, allocations: 1.434 MB / 352.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.02113, allocations: 16.03 kB / 352.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.02151, allocations: 160.2 kB / 352.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.02285, allocations: 0.6771 MB / 353.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.02292, allocations: 53.61 kB / 353.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.02306, allocations: 64.31 kB / 353.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.0247, allocations: 0.8248 MB / 354.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.02473, allocations: 3.938 kB / 354.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.02481, allocations: 27.98 kB / 354.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.02483, allocations: 12 kB / 354.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.02594, allocations: 0.5263 MB / 355 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.02998, allocations: 2.189 MB / 357.1 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.03113, allocations: 0.5242 MB / 357.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006357/0.03177, allocations: 321.9 kB / 358 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.03181, allocations: 12.5 kB / 358 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.03318, allocations: 0.5681 MB / 358.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 3.116e-06/0.03318, allocations: 0 / 358.6 MB, free: 5.93 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2679915039334446]