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.0009897/0.0009897, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001051/0.001051, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.9411/0.9411, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.03722/0.03722, allocations: 8.612 MB / 267.8 MB, free: 5.129 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 395.8 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.692e-05, allocations: 2.281 kB / 395.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.002933/0.00295, allocations: 2.883 MB / 398.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.005583, allocations: 2.246 MB / 401 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.005874, allocations: 47.5 kB / 401 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.006541, allocations: 410 kB / 401.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.007012, allocations: 374.1 kB / 401.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.008046, allocations: 0.8443 MB / 402.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000732/0.008778, allocations: 1.139 MB / 403.8 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.008945, allocations: 105.5 kB / 403.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.009397, allocations: 0.604 MB / 404.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.009742, allocations: 418.9 kB / 404.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.009815, allocations: 64 kB / 405 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.01013, allocations: 311.7 kB / 405.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.0103, allocations: 267 kB / 405.5 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.01047, allocations: 247.7 kB / 405.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008816/0.01135, allocations: 1.102 MB / 406.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01136, allocations: 0 / 406.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01136, allocations: 4 kB / 406.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.01138, allocations: 0 / 406.9 MB, free: 5.621 MB / 330.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.001466/0.01284, allocations: 1.434 MB / 408.3 MB, free: 4.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.01288, allocations: 16.02 kB / 408.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/0.01296, allocations: 98.69 kB / 408.4 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01308, allocations: 116.2 kB / 408.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.0138, allocations: 0.6418 MB / 409.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.01383, allocations: 53.61 kB / 409.2 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.0139, allocations: 68.34 kB / 409.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.01474, allocations: 0.8207 MB / 410.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.01476, allocations: 11.94 kB / 410.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.0148, allocations: 16 kB / 410.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.01481, allocations: 20 kB / 410.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.01542, allocations: 0.5302 MB / 410.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.131/0.1464, allocations: 2.25 MB / 412.9 MB, free: 27.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.1472, allocations: 0.5181 MB / 413.5 MB, free: 27.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.1475, allocations: 333 kB / 413.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1476, allocations: 7.078 kB / 413.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.1482, allocations: 0.5659 MB / 414.3 MB, free: 27.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.296e-06/0.1482, allocations: 0 / 414.3 MB, free: 27.45 MB / 330.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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.836670740507543]