Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.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.001519/0.001519, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.001003/0.001003, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.9893/0.9893, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.03817/0.03817, allocations: 5.886 MB / 265.1 MB, free: 7.75 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 391.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.582e-05, allocations: 6.219 kB / 391.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002704/0.00272, allocations: 2.559 MB / 394.5 MB, free: 3.438 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004082, allocations: 0.8901 MB / 395.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.004309, allocations: 35.62 kB / 395.4 MB, free: 2.512 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.004523, allocations: 87 kB / 395.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.004705, allocations: 59.34 kB / 395.5 MB, free: 2.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.00552, allocations: 0.5184 MB / 396 MB, free: 1.848 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.006104, allocations: 0.8057 MB / 396.9 MB, free: 1.043 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.006267, allocations: 91.02 kB / 396.9 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.006608, allocations: 423.1 kB / 397.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.006874, allocations: 255.2 kB / 397.6 MB, free: 288 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.006939, allocations: 56 kB / 397.7 MB, free: 232 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.007049, allocations: 95.95 kB / 397.8 MB, free: 136 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.00718, allocations: 175.4 kB / 397.9 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.007322, allocations: 195.4 kB / 398.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.007834, allocations: 0.6891 MB / 398.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.007837, allocations: 4 kB / 398.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007839, allocations: 0 / 398.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.007847, allocations: 0 / 398.8 MB, free: 15.07 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001234/0.009081, allocations: 1.001 MB / 399.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.009118, allocations: 8.031 kB / 399.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.501e-05/0.009203, allocations: 110.7 kB / 399.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.0093, allocations: 84.42 kB / 400 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.009793, allocations: 457.8 kB / 400.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.009859, allocations: 75.56 kB / 400.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.009927, allocations: 64.33 kB / 400.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.0107, allocations: 0.7356 MB / 401.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.01072, allocations: 8.125 kB / 401.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.01076, allocations: 28.36 kB / 401.4 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.01077, allocations: 15.94 kB / 401.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.01141, allocations: 0.5172 MB / 401.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.0134, allocations: 2.015 MB / 403.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.01402, allocations: 398.2 kB / 404.3 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.01435, allocations: 279.4 kB / 404.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.01438, allocations: 7.938 kB / 404.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.01477, allocations: 389.8 kB / 405 MB, free: 8.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/0.01477, allocations: 0 / 405 MB, free: 8.656 MB / 378.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_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP_s) - pre(R_disc.PV_s)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.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_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP_s) - pre(R_disc.PV_s)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.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.8476923443377018]