Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.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.001146/0.001146, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00154/0.00154, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.239/1.239, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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.04694/0.04694, allocations: 11.34 MB / 323.8 MB, free: 7.055 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.Applications.ControlProblems.CascadeAntiWindup,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 71.16 kB / 451.7 MB, free: 35.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1519, allocations: 56.07 MB / 0.4959 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003145/0.155, allocations: 2.476 MB / 0.4983 GB, free: 8.559 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.157, allocations: 1.151 MB / 0.4995 GB, free: 7.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.1573, allocations: 23.75 kB / 0.4995 GB, free: 7.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1577, allocations: 150.7 kB / 0.4996 GB, free: 7.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1579, allocations: 91.25 kB / 0.4997 GB, free: 7.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1589, allocations: 467.1 kB / 0.5001 GB, free: 6.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1601, allocations: 1.117 MB / 0.5012 GB, free: 5.566 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.1603, allocations: 90.69 kB / 0.5013 GB, free: 5.457 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.1607, allocations: 390.7 kB / 0.5017 GB, free: 5.074 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.1612, allocations: 382.2 kB / 0.5021 GB, free: 4.699 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.1612, allocations: 68 kB / 0.5021 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1615, allocations: 139.9 kB / 0.5023 GB, free: 4.496 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1616, allocations: 159.3 kB / 0.5024 GB, free: 4.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.1619, allocations: 318.8 kB / 0.5027 GB, free: 4.027 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.1626, allocations: 0.7974 MB / 0.5035 GB, free: 3.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1626, allocations: 0 / 0.5035 GB, free: 3.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1626, allocations: 0 / 0.5035 GB, free: 3.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1626, allocations: 0 / 0.5035 GB, free: 3.223 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001324/0.164, allocations: 1.136 MB / 0.5046 GB, free: 2.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.164, allocations: 8.031 kB / 0.5046 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.1641, allocations: 114.7 kB / 0.5047 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1643, allocations: 100.4 kB / 0.5048 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.165, allocations: 470.4 kB / 0.5053 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.165, allocations: 53.31 kB / 0.5053 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.1651, allocations: 72.38 kB / 0.5054 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1661, allocations: 0.8795 MB / 0.5062 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1662, allocations: 0 / 0.5062 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.1662, allocations: 32 kB / 0.5063 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1662, allocations: 12 kB / 0.5063 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.1669, allocations: 0.6606 MB / 0.5069 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1688, allocations: 1.433 MB / 0.5083 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.1693, allocations: 425.7 kB / 0.5087 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.1696, allocations: 366.6 kB / 0.5091 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1696, allocations: 4 kB / 0.5091 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006773/0.1703, allocations: 0.7031 MB / 0.5098 GB, free: 12.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.637e-06/0.1703, allocations: 0 / 0.5098 GB, free: 12.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001621/0.1719, allocations: 1.606 MB / 0.5113 GB, free: 10.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.1721, allocations: 427.7 kB / 0.5118 GB, free: 10.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.1728, allocations: 0.6287 MB / 0.5124 GB, free: 9.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.1728, allocations: 53.69 kB / 0.5124 GB, free: 9.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.173, allocations: 368.7 kB / 0.5128 GB, free: 9.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1732, allocations: 190.5 kB / 0.513 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1733, allocations: 190.6 kB / 0.5131 GB, free: 8.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1734, allocations: 398.8 kB / 0.5135 GB, free: 8.344 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1213:5-1213:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable PID_outer.dpv:DISCRETE(fixed = false protected = true ) type: Real does not appear in any equation in the initial system and is not fixable. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.890628369525075]