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.0009644/0.0009644, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00104/0.00104, allocations: 166.2 kB / 22.46 MB, free: 2.109 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.9559/0.9559, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.0426/0.0426, allocations: 8.607 MB / 267.8 MB, free: 5.129 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: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 395.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.838e-05, allocations: 6.281 kB / 395.8 MB, free: 1.898 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.002519/0.002538, allocations: 2.482 MB / 398.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003943, allocations: 1.151 MB / 399.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.004104, allocations: 23.75 kB / 399.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.004369, allocations: 150.7 kB / 399.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.004491, allocations: 99.17 kB / 399.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.005244, allocations: 0.5027 MB / 400.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008886/0.006133, allocations: 0.9644 MB / 401.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.006291, allocations: 98.73 kB / 401.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.006594, allocations: 475 kB / 401.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.006873, allocations: 327 kB / 402.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.006945, allocations: 68 kB / 402.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.00708, allocations: 127.9 kB / 402.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.007186, allocations: 155.3 kB / 402.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.007367, allocations: 259.8 kB / 402.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.007901, allocations: 0.8528 MB / 403.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.007903, allocations: 0 / 403.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007904, allocations: 4 kB / 403.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.00791, allocations: 0 / 403.5 MB, free: 10.15 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001149/0.009059, allocations: 1.12 MB / 404.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.009114, allocations: 12.03 kB / 404.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.009218, allocations: 114.7 kB / 404.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.009374, allocations: 108.3 kB / 404.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.009897, allocations: 469.7 kB / 405.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.009927, allocations: 41.38 kB / 405.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.01, allocations: 72.33 kB / 405.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.01087, allocations: 0.8722 MB / 406.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.01089, allocations: 8.125 kB / 406.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.01093, allocations: 36.12 kB / 406.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01094, allocations: 8 kB / 406.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.01157, allocations: 0.6568 MB / 407 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01312, allocations: 1.43 MB / 408.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.01353, allocations: 427.6 kB / 408.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.01402, allocations: 362.6 kB / 409.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.01403, allocations: 3.984 kB / 409.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.01452, allocations: 0.7032 MB / 409.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.413e-06/0.01452, allocations: 0 / 409.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001349/0.01587, allocations: 1.608 MB / 411.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.016, allocations: 419.7 kB / 412 MB, free: 1.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/0.01671, allocations: 0.6326 MB / 412.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.01674, allocations: 49.72 kB / 412.6 MB, free: 452 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.01691, allocations: 380.6 kB / 413 MB, free: 64 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.01701, allocations: 186.8 kB / 413.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.01714, allocations: 186.5 kB / 413.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01726, allocations: 398.7 kB / 413.8 MB, free: 15.29 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1220:5-1220: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: 1.8038371577858925]