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.001382/0.001382, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.00145/0.00145, allocations: 223.3 kB / 23.03 MB, free: 4.945 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.06163/0.06163, allocations: 11.34 MB / 324.6 MB, free: 8.051 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="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.001891/0.001891, allocations: 71.89 kB / 451.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 56.07 MB / 0.4959 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003681/0.1112, allocations: 2.283 MB / 0.4981 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1124, allocations: 0.6754 MB / 0.4988 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1126, allocations: 27.75 kB / 0.4988 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1128, allocations: 79.19 kB / 0.4989 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1129, allocations: 51.47 kB / 0.499 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.1137, allocations: 391.3 kB / 0.4993 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008547/0.1146, allocations: 0.7779 MB / 0.5001 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1148, allocations: 87.62 kB / 0.5002 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.115, allocations: 231 kB / 0.5004 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1153, allocations: 222.9 kB / 0.5006 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.1154, allocations: 40 kB / 0.5006 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.1154, allocations: 44 kB / 0.5007 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.1156, allocations: 163.4 kB / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1158, allocations: 166.9 kB / 0.501 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.1163, allocations: 0.5133 MB / 0.5015 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1163, allocations: 0 / 0.5015 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1163, allocations: 0 / 0.5015 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1163, allocations: 0 / 0.5015 GB, free: 12.41 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.001153/0.1175, allocations: 0.7269 MB / 0.5022 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1175, allocations: 8.031 kB / 0.5022 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/0.1175, allocations: 9.188 kB / 0.5022 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.1176, allocations: 78.72 kB / 0.5023 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.1177, allocations: 68.5 kB / 0.5024 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.1183, allocations: 387 kB / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.1183, allocations: 33.38 kB / 0.5028 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.1184, allocations: 44.38 kB / 0.5028 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.1191, allocations: 480.4 kB / 0.5033 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1191, allocations: 0 / 0.5033 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.1192, allocations: 19.94 kB / 0.5033 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1192, allocations: 12 kB / 0.5033 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.1198, allocations: 339.7 kB / 0.5036 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.1221, allocations: 1.887 MB / 0.5055 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1225, allocations: 188.5 kB / 0.5056 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1226, allocations: 88.81 kB / 0.5057 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1227, allocations: 4 kB / 0.5057 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1227, allocations: 34.56 kB / 0.5058 GB, free: 7.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.1227, allocations: 0 / 0.5058 GB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000632/0.1233, allocations: 341.4 kB / 0.5061 GB, free: 7.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1234, allocations: 59.41 kB / 0.5062 GB, free: 7.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.1239, allocations: 0.4901 MB / 0.5066 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1239, allocations: 33.7 kB / 0.5067 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.1242, allocations: 300 kB / 0.5069 GB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.1242, allocations: 79.33 kB / 0.507 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1244, allocations: 86.08 kB / 0.5071 GB, free: 6.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1246, allocations: 358.8 kB / 0.5074 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1248, allocations: 100.8 kB / 0.5075 GB, free: 5.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.1251, allocations: 284.1 kB / 0.5078 GB, free: 5.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.1268, allocations: 0.6469 MB / 0.5084 GB, free: 4.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1268, allocations: 4 kB / 0.5085 GB, free: 4.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007238/0.1275, allocations: 464.8 kB / 0.5089 GB, free: 4.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1275, allocations: 8 kB / 0.5089 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1275, allocations: 8 kB / 0.5089 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1276, allocations: 8 kB / 0.5089 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.1279, allocations: 103.8 kB / 0.509 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.128, allocations: 12.47 kB / 0.509 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1282, allocations: 63.55 kB / 0.5091 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.1282, allocations: 16 kB / 0.5091 GB, free: 4.168 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.0002601/0.1284, allocations: 210.4 kB / 0.5093 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.1285, allocations: 47.72 kB / 0.5094 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.1291, allocations: 308.1 kB / 0.5096 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1291, allocations: 4 kB / 0.5096 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1291, allocations: 3.938 kB / 0.5097 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1291, allocations: 3.984 kB / 0.5097 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.1296, allocations: 376.3 kB / 0.51 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1296, allocations: 0 / 0.51 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.1299, allocations: 75.89 kB / 0.5101 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1299, allocations: 0 / 0.5101 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.1299, allocations: 11.94 kB / 0.5101 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1299, allocations: 0 / 0.5101 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1299, allocations: 0 / 0.5101 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.1307, allocations: 0.4912 MB / 0.5106 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1307, allocations: 47.72 kB / 0.5106 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.1308, allocations: 4 kB / 0.5106 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1309, allocations: 19.92 kB / 0.5106 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.131, allocations: 15.97 kB / 0.5107 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.131, allocations: 4 kB / 0.5107 GB, free: 2.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.1313, allocations: 342.8 kB / 0.511 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1313, allocations: 0 / 0.511 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.1317, allocations: 75.84 kB / 0.5111 GB, free: 2.098 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.0009752/0.1327, allocations: 1.032 MB / 0.5121 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.1332, allocations: 275.5 kB / 0.5123 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1332, allocations: 1.625 kB / 0.5123 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1334, allocations: 115.8 kB / 0.5124 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1337, allocations: 40.45 kB / 0.5125 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1894/0.3231, allocations: 4.153 MB / 0.5165 GB, free: 21.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3233, allocations: 269.2 kB / 0.5168 GB, free: 21.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.3235, allocations: 71.89 kB / 0.5169 GB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.3237, allocations: 167.9 kB / 0.517 GB, free: 21.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3237, allocations: 1.062 kB / 0.517 GB, free: 21.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.3544, allocations: 7.458 MB / 0.5243 GB, free: 20.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.61, allocations: 12 kB / 0.5243 GB, free: 20.61 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 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: 14.184586280025542] Failed to read output from testmodel.py, exit status != 0: 11.761449538986199 11.774148667 11.655451154 Calling exit ...