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.001724/0.001724, 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.001419/0.001419, allocations: 211.1 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.773 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.06249/0.06249, allocations: 11.35 MB / 323.8 MB, free: 7.996 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.002064/0.002064, allocations: 67.89 kB / 451 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 56.08 MB / 0.4952 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004497/0.1122, allocations: 2.876 MB / 0.498 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1162, allocations: 2.239 MB / 0.5002 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.1165, allocations: 47.5 kB / 0.5002 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.1175, allocations: 414.2 kB / 0.5006 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.1182, allocations: 366.4 kB / 0.5009 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1199, allocations: 0.8051 MB / 0.5017 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1213, allocations: 1.245 MB / 0.503 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1215, allocations: 101.7 kB / 0.503 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.1221, allocations: 0.5022 MB / 0.5035 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.1227, allocations: 489.9 kB / 0.504 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1228, allocations: 64 kB / 0.5041 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.1234, allocations: 307.7 kB / 0.5044 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.1237, allocations: 263.1 kB / 0.5046 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.124, allocations: 326.4 kB / 0.5049 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1251, allocations: 1.054 MB / 0.506 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1252, allocations: 0 / 0.506 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1252, allocations: 4 kB / 0.506 GB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1252, allocations: 0 / 0.506 GB, free: 7.016 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.002317/0.1275, allocations: 1.442 MB / 0.5074 GB, free: 5.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1275, allocations: 8.031 kB / 0.5074 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.1277, allocations: 114.6 kB / 0.5075 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.1278, allocations: 116.2 kB / 0.5076 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.129, allocations: 0.6348 MB / 0.5082 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.1291, allocations: 53.67 kB / 0.5083 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1292, allocations: 71.81 kB / 0.5083 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1305, allocations: 0.8165 MB / 0.5091 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1305, allocations: 7.938 kB / 0.5091 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.1306, allocations: 27.98 kB / 0.5092 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1306, allocations: 16 kB / 0.5092 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.1315, allocations: 0.5263 MB / 0.5097 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.135, allocations: 2.258 MB / 0.5119 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.1359, allocations: 0.5204 MB / 0.5124 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2054/0.3413, allocations: 330.9 kB / 0.5127 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.3414, allocations: 6.906 kB / 0.5127 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008322/0.3422, allocations: 0.5574 MB / 0.5133 GB, free: 23.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.196e-06/0.3422, allocations: 0.6562 kB / 0.5133 GB, free: 23.2 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.622548710089177] Failed to read output from testmodel.py, exit status != 0: 0.35113842179998755 0.362512608 0.234808592 Calling exit ...