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.001219/0.001219, 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.001211/0.001211, allocations: 169.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.8831/0.8831, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.03436/0.03436, allocations: 8.61 MB / 267.8 MB, free: 5.117 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.046e-05, allocations: 2.281 kB / 395.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003204/0.003224, allocations: 2.88 MB / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.006179, allocations: 2.242 MB / 400.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.006618, allocations: 51.44 kB / 400.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.00742, allocations: 416.4 kB / 400.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006281/0.008048, allocations: 374.2 kB / 401 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.009501, allocations: 0.8475 MB / 401.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01067, allocations: 1.139 MB / 403 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.01091, allocations: 105.4 kB / 403.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.01169, allocations: 0.604 MB / 403.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.01219, allocations: 418.9 kB / 404.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.334e-05/0.01228, allocations: 68 kB / 404.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.01273, allocations: 311.7 kB / 404.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.01294, allocations: 270.9 kB / 404.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.01313, allocations: 239.7 kB / 405 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.01415, allocations: 1.106 MB / 406.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01416, allocations: 0 / 406.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01416, allocations: 0 / 406.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.01418, allocations: 0 / 406.1 MB, free: 7.57 MB / 378.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.001757/0.01593, allocations: 1.434 MB / 407.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.01598, allocations: 8.031 kB / 407.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.01607, allocations: 98.69 kB / 407.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.01621, allocations: 112.2 kB / 407.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.01702, allocations: 0.6496 MB / 408.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.01706, allocations: 49.67 kB / 408.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.01713, allocations: 64.36 kB / 408.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.01802, allocations: 0.8246 MB / 409.3 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.01805, allocations: 11.89 kB / 409.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.01809, allocations: 27.98 kB / 409.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.0181, allocations: 12 kB / 409.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.01871, allocations: 0.5302 MB / 409.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.02095, allocations: 2.254 MB / 412.2 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.02158, allocations: 0.5205 MB / 412.7 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.02191, allocations: 329.9 kB / 413 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.02193, allocations: 8.5 kB / 413 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005863/0.02252, allocations: 0.5612 MB / 413.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.365e-06/0.02252, allocations: 0 / 413.6 MB, free: 15.75 MB / 394.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.651740400120616] Failed to read output from testmodel.py, exit status != 0: 0.03014452289789915 0.043911522 0.027426931 Calling exit ...