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.00131/0.00131, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001457/0.001457, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.785 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.06526/0.06526, allocations: 11.35 MB / 323.8 MB, free: 8.012 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.002198/0.002198, allocations: 71.91 kB / 451 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 56.07 MB / 0.4952 GB, free: 2.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.00553/0.1199, allocations: 2.877 MB / 0.498 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004619/0.1245, allocations: 2.239 MB / 0.5002 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.1251, allocations: 47.5 kB / 0.5002 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.1263, allocations: 410.2 kB / 0.5006 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.1274, allocations: 373.5 kB / 0.501 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.1296, allocations: 0.7937 MB / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1314, allocations: 1.241 MB / 0.5029 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.1317, allocations: 105.7 kB / 0.503 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.1325, allocations: 0.4944 MB / 0.5035 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/0.1334, allocations: 493.9 kB / 0.504 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.1337, allocations: 64 kB / 0.5041 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000739/0.1344, allocations: 311.7 kB / 0.5044 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004259/0.1349, allocations: 267.1 kB / 0.5046 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005423/0.1354, allocations: 318.4 kB / 0.5049 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1369, allocations: 1.058 MB / 0.5059 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.137, allocations: 4 kB / 0.5059 GB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.137, allocations: 0 / 0.5059 GB, free: 7.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.17e-05/0.137, allocations: 0 / 0.5059 GB, free: 7.031 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.002923/0.1399, allocations: 1.442 MB / 0.5074 GB, free: 5.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.14, allocations: 12.03 kB / 0.5074 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.1401, allocations: 102.6 kB / 0.5075 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.1404, allocations: 120.2 kB / 0.5076 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.1417, allocations: 0.6387 MB / 0.5082 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.1417, allocations: 49.61 kB / 0.5082 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1419, allocations: 75.81 kB / 0.5083 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.1433, allocations: 0.8203 MB / 0.5091 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.1434, allocations: 11.92 kB / 0.5091 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.1434, allocations: 20 kB / 0.5092 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1434, allocations: 16 kB / 0.5092 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.1444, allocations: 0.5224 MB / 0.5097 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.1481, allocations: 2.27 MB / 0.5119 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1492, allocations: 0.5225 MB / 0.5124 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1968/0.346, allocations: 329.6 kB / 0.5127 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.346, allocations: 3.5 kB / 0.5127 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007731/0.3468, allocations: 0.5593 MB / 0.5133 GB, free: 23.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.286e-06/0.3468, allocations: 1.156 kB / 0.5133 GB, free: 23.18 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7304383073933423] Failed to read output from testmodel.py, exit status != 0: 0.3557652300223708 0.37569157200000003 0.23435124400000001 Calling exit ...