Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.001277/0.001277, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001576/0.001576, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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.0627/0.0627, allocations: 11.34 MB / 323.8 MB, free: 8.055 MB / 254.1 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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",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.001978/0.001978, allocations: 63.89 kB / 451 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.1004, allocations: 56.08 MB / 0.4952 GB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003493/0.1039, allocations: 2.287 MB / 0.4974 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1051, allocations: 0.6792 MB / 0.4981 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1053, allocations: 19.81 kB / 0.4981 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1055, allocations: 79.19 kB / 0.4981 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1056, allocations: 55.42 kB / 0.4982 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.1064, allocations: 383.3 kB / 0.4986 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008388/0.1072, allocations: 0.7701 MB / 0.4993 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1074, allocations: 79.56 kB / 0.4994 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1077, allocations: 219.2 kB / 0.4996 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.1079, allocations: 226.8 kB / 0.4998 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.108, allocations: 40 kB / 0.4999 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.1081, allocations: 40 kB / 0.4999 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.1082, allocations: 159.4 kB / 0.5 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1084, allocations: 166.9 kB / 0.5002 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.1089, allocations: 0.5133 MB / 0.5007 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1089, allocations: 4 kB / 0.5007 GB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1089, allocations: 0 / 0.5007 GB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1089, allocations: 4 kB / 0.5007 GB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00117/0.1101, allocations: 0.7191 MB / 0.5014 GB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1101, allocations: 8.031 kB / 0.5014 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.469e-05/0.1102, allocations: 82.7 kB / 0.5015 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.1103, allocations: 64.52 kB / 0.5016 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.1109, allocations: 391 kB / 0.5019 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1109, allocations: 29.38 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/0.111, allocations: 40.38 kB / 0.502 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.1117, allocations: 480.6 kB / 0.5025 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1117, allocations: 7.938 kB / 0.5025 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.1118, allocations: 27.86 kB / 0.5025 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1118, allocations: 12 kB / 0.5025 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.1124, allocations: 339.7 kB / 0.5028 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1148, allocations: 1.88 MB / 0.5047 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.1151, allocations: 190.4 kB / 0.5049 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1153, allocations: 88.81 kB / 0.5049 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1153, allocations: 4 kB / 0.5049 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1153, allocations: 38.55 kB / 0.505 GB, free: 7.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.1153, allocations: 0 / 0.505 GB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006207/0.116, allocations: 339.1 kB / 0.5053 GB, free: 7.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.116, allocations: 55.41 kB / 0.5054 GB, free: 7.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.1165, allocations: 0.5017 MB / 0.5058 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.1166, allocations: 29.7 kB / 0.5059 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1168, allocations: 304 kB / 0.5062 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/0.1168, allocations: 79.33 kB / 0.5062 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1169, allocations: 90.08 kB / 0.5063 GB, free: 6.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1171, allocations: 358.8 kB / 0.5067 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.1173, allocations: 96.81 kB / 0.5068 GB, free: 5.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.1176, allocations: 284.1 kB / 0.507 GB, free: 5.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.1192, allocations: 0.6469 MB / 0.5077 GB, free: 4.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1192, allocations: 0 / 0.5077 GB, free: 4.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006911/0.1199, allocations: 473.2 kB / 0.5081 GB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1199, allocations: 4 kB / 0.5081 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1199, allocations: 8 kB / 0.5081 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1199, allocations: 8 kB / 0.5081 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.1203, allocations: 99.83 kB / 0.5082 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1203, allocations: 11.98 kB / 0.5082 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1205, allocations: 47.62 kB / 0.5083 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.1205, allocations: 24 kB / 0.5083 GB, free: 4.219 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (controller2.TS_in,controller1.TS_in,controller2.satLOW_in,controller2.satHIGH_in,controller2.ATreq_in,controller1.satLOW_in,controller1.satHIGH_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.1207, allocations: 214.5 kB / 0.5085 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.1208, allocations: 51.64 kB / 0.5086 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.1213, allocations: 315.2 kB / 0.5089 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1214, allocations: 4 kB / 0.5089 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1214, allocations: 3.984 kB / 0.5089 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1214, allocations: 0 / 0.5089 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1218, allocations: 372.4 kB / 0.5092 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1218, allocations: 0 / 0.5092 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.1221, allocations: 59.97 kB / 0.5093 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1221, allocations: 0 / 0.5093 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1222, allocations: 15.88 kB / 0.5093 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1222, allocations: 4 kB / 0.5093 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1222, allocations: 4 kB / 0.5093 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.1228, allocations: 0.4917 MB / 0.5098 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.1229, allocations: 43.72 kB / 0.5098 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.123, allocations: 8 kB / 0.5098 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1231, allocations: 11.98 kB / 0.5098 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1232, allocations: 11.97 kB / 0.5099 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1232, allocations: 12 kB / 0.5099 GB, free: 2.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.1235, allocations: 338.8 kB / 0.5102 GB, free: 2.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1235, allocations: 4 kB / 0.5102 GB, free: 2.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1239, allocations: 71.84 kB / 0.5103 GB, free: 2.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009525/0.1248, allocations: 1.036 MB / 0.5113 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004812/0.1253, allocations: 280.1 kB / 0.5115 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1253, allocations: 4 kB / 0.5115 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1255, allocations: 107.9 kB / 0.5116 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1258, allocations: 45.95 kB / 0.5117 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1855/0.3114, allocations: 4.144 MB / 0.5157 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3116, allocations: 269 kB / 0.516 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.3117, allocations: 69.73 kB / 0.5161 GB, free: 21.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3119, allocations: 170.1 kB / 0.5162 GB, free: 21.48 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3119, allocations: 0 / 0.5162 GB, free: 21.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.3499, allocations: 7.703 MB / 0.5237 GB, free: 20.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 13.16 kB / 0.5238 GB, free: 20.34 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.909651309251785] Failed to read output from testmodel.py, exit status != 0: 11.372389419935644 11.386640453 11.275123673 Calling exit ...