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.0007793/0.0007793, 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.0008736/0.0008736, allocations: 170.3 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.899/0.899, allocations: 177.1 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.03569/0.03569, allocations: 8.613 MB / 267.8 MB, free: 5.113 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.663e-06/1.663e-06, allocations: 0 / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.032e-05, allocations: 2.281 kB / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003103/0.003123, allocations: 2.88 MB / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.006031, allocations: 2.246 MB / 400.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.006345, allocations: 47.44 kB / 400.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.007093, allocations: 420.3 kB / 400.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.007623, allocations: 370.2 kB / 401 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.008871, allocations: 0.8449 MB / 401.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008145/0.009686, allocations: 1.139 MB / 403 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.009868, allocations: 109.4 kB / 403.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.01035, allocations: 0.5963 MB / 403.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.01071, allocations: 434.8 kB / 404.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.819e-05/0.01078, allocations: 64 kB / 404.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.01112, allocations: 311.6 kB / 404.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.01129, allocations: 267 kB / 404.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.01146, allocations: 239.7 kB / 405 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.01225, allocations: 1.11 MB / 406.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01225, allocations: 0 / 406.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01226, allocations: 0 / 406.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.01226, allocations: 0 / 406.1 MB, free: 7.566 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.001676/0.01394, allocations: 1.426 MB / 407.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.01398, allocations: 8.031 kB / 407.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.146e-05/0.01406, allocations: 102.7 kB / 407.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.01418, allocations: 124.2 kB / 407.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.01489, allocations: 0.6497 MB / 408.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.01492, allocations: 45.67 kB / 408.5 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.01499, allocations: 56.38 kB / 408.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.01578, allocations: 0.8284 MB / 409.3 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.0158, allocations: 11.89 kB / 409.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.01584, allocations: 27.98 kB / 409.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.01585, allocations: 12 kB / 409.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.01641, allocations: 0.5263 MB / 409.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.01841, allocations: 2.262 MB / 412.2 MB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.01901, allocations: 0.5127 MB / 412.7 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.01931, allocations: 325.9 kB / 413 MB, free: 372 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.01934, allocations: 8.5 kB / 413 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/0.02015, allocations: 0.5641 MB / 413.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.174e-06/0.02015, allocations: 4 kB / 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.6239816723391414] Failed to read output from testmodel.py, exit status != 0: 0.027128145098686218 0.036517933 0.022235813 Calling exit ...