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.00112/0.00112, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002836, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.0009885/0.0009885, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.002111, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 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.007/1.007, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1491/1.156, allocations: 53.66 MB / 243.2 MB, free: 2.379 MB / 234.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.04217/0.04217, allocations: 8.611 MB / 252.5 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006723/0.04889, allocations: 3.118 MB / 255.6 MB, free: 6.465 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+3.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 256.9 MB, free: 5.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.954e-05, allocations: 2.312 kB / 256.9 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.007636/0.007655, allocations: 2.996 MB / 259.9 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.01491, allocations: 2.323 MB / 262.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.01817, allocations: 51.5 kB / 262.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.01917, allocations: 402.1 kB / 262.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009208/0.02009, allocations: 394 kB / 263 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.022, allocations: 0.8027 MB / 263.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.02441, allocations: 1.108 MB / 264.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.02471, allocations: 114.1 kB / 265 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.02646, allocations: 0.6988 MB / 265.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.02714, allocations: 406.9 kB / 266.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.02731, allocations: 64 kB / 266.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.02802, allocations: 335.6 kB / 266.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.02826, allocations: 215.2 kB / 266.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.02849, allocations: 179.9 kB / 266.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.02958, allocations: 0.7705 MB / 267.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.0296, allocations: 0 / 267.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.0296, allocations: 0 / 267.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.02963, allocations: 0 / 267.7 MB, free: 10.35 MB / 266.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.001985/0.03162, allocations: 1.373 MB / 269 MB, free: 8.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.03166, allocations: 15.98 kB / 269.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.03176, allocations: 102.6 kB / 269.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.03196, allocations: 120.8 kB / 269.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.0329, allocations: 0.6114 MB / 269.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.03296, allocations: 57.61 kB / 269.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.03306, allocations: 60.36 kB / 270 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.0339, allocations: 0.6085 MB / 270.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.03392, allocations: 0 / 270.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.03398, allocations: 27.98 kB / 270.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.034, allocations: 16 kB / 270.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.0344, allocations: 245 kB / 270.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.037, allocations: 1.791 MB / 272.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.03748, allocations: 356.2 kB / 273 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.0377, allocations: 178 kB / 273.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.03773, allocations: 8.5 kB / 273.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005285/0.03825, allocations: 428.5 kB / 273.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.765e-06/0.03826, allocations: 4 kB / 273.6 MB, free: 4.066 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5857708640396595]