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.001634/0.001634, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.001992/0.001992, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.0601/0.0601, allocations: 11.33 MB / 320.9 MB, free: 14.16 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.001901/0.001901, allocations: 66.17 kB / 446.5 MB, free: 38.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08805, allocations: 56.01 MB / 0.4908 GB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002666/0.09071, allocations: 2.442 MB / 0.4931 GB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.09169, allocations: 0.687 MB / 0.4938 GB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.09184, allocations: 23.75 kB / 0.4938 GB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.09203, allocations: 83.17 kB / 0.4939 GB, free: 216 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.09214, allocations: 55.47 kB / 0.494 GB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.0928, allocations: 343.4 kB / 0.4943 GB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007356/0.09354, allocations: 0.7193 MB / 0.495 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.09372, allocations: 91.22 kB / 0.4951 GB, free: 15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.09396, allocations: 223.2 kB / 0.4953 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.09424, allocations: 234.8 kB / 0.4955 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.0943, allocations: 44 kB / 0.4956 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.09435, allocations: 40 kB / 0.4956 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.09452, allocations: 163.4 kB / 0.4958 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.0947, allocations: 222.6 kB / 0.496 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.09521, allocations: 0.5017 MB / 0.4965 GB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09521, allocations: 0 / 0.4965 GB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09521, allocations: 0 / 0.4965 GB, free: 13.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.09522, allocations: 0 / 0.4965 GB, free: 13.59 MB / 366.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.001181/0.0964, allocations: 0.8 MB / 0.4972 GB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.09645, allocations: 8.031 kB / 0.4972 GB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.363e-05/0.09647, allocations: 9.188 kB / 0.4973 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.09655, allocations: 78.72 kB / 0.4973 GB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.09664, allocations: 64.52 kB / 0.4974 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.09724, allocations: 466.1 kB / 0.4978 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.09728, allocations: 29.38 kB / 0.4979 GB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.09734, allocations: 40.38 kB / 0.4979 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.09807, allocations: 484.4 kB / 0.4984 GB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.09809, allocations: 3.938 kB / 0.4984 GB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.09812, allocations: 23.98 kB / 0.4984 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.09814, allocations: 12 kB / 0.4984 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.09873, allocations: 339.7 kB / 0.4987 GB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1011, allocations: 1.997 MB / 0.5007 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.1015, allocations: 192.6 kB / 0.5009 GB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1016, allocations: 92.81 kB / 0.5009 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1016, allocations: 4 kB / 0.501 GB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1017, allocations: 34.56 kB / 0.501 GB, free: 8.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1017, allocations: 0 / 0.501 GB, free: 8.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.000661/0.1023, allocations: 339.6 kB / 0.5013 GB, free: 8.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1024, allocations: 63.41 kB / 0.5014 GB, free: 8.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.1029, allocations: 0.494 MB / 0.5019 GB, free: 7.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1029, allocations: 25.7 kB / 0.5019 GB, free: 7.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.1031, allocations: 304 kB / 0.5022 GB, free: 7.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.1032, allocations: 79.33 kB / 0.5022 GB, free: 7.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1033, allocations: 86.08 kB / 0.5023 GB, free: 7.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1035, allocations: 358.8 kB / 0.5027 GB, free: 6.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1037, allocations: 104.8 kB / 0.5028 GB, free: 6.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.104, allocations: 280.1 kB / 0.503 GB, free: 6.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.1056, allocations: 0.6524 MB / 0.5037 GB, free: 5.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1056, allocations: 0 / 0.5037 GB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007057/0.1063, allocations: 465.2 kB / 0.5041 GB, free: 5.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1063, allocations: 11.98 kB / 0.5041 GB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1064, allocations: 4 kB / 0.5041 GB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1064, allocations: 8 kB / 0.5041 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.1068, allocations: 99.83 kB / 0.5042 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1068, allocations: 11.94 kB / 0.5042 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.107, allocations: 51.61 kB / 0.5043 GB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.107, allocations: 24.25 kB / 0.5043 GB, free: 5.055 MB / 366.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.0002513/0.1072, allocations: 214.3 kB / 0.5045 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.1073, allocations: 47.66 kB / 0.5046 GB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.1079, allocations: 313.6 kB / 0.5049 GB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1079, allocations: 4 kB / 0.5049 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1079, allocations: 0 / 0.5049 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1079, allocations: 0 / 0.5049 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.1084, allocations: 441.2 kB / 0.5053 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1084, allocations: 0 / 0.5053 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.1087, allocations: 67.91 kB / 0.5054 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1087, allocations: 4 kB / 0.5054 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1087, allocations: 7.984 kB / 0.5054 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1087, allocations: 0 / 0.5054 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1087, allocations: 0 / 0.5054 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.1094, allocations: 0.4908 MB / 0.5058 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1095, allocations: 120.8 kB / 0.506 GB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1096, allocations: 16.05 kB / 0.506 GB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1097, allocations: 4 kB / 0.506 GB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.1098, allocations: 19.97 kB / 0.506 GB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1098, allocations: 8 kB / 0.506 GB, free: 3.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000354/0.1101, allocations: 338.8 kB / 0.5063 GB, free: 2.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1101, allocations: 0 / 0.5063 GB, free: 2.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1105, allocations: 71.84 kB / 0.5064 GB, free: 2.832 MB / 366.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.0009777/0.1115, allocations: 1.043 MB / 0.5074 GB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.112, allocations: 280.5 kB / 0.5077 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.112, allocations: 0 / 0.5077 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1122, allocations: 111.9 kB / 0.5078 GB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1126, allocations: 41.89 kB / 0.5078 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.1174, allocations: 4.151 MB / 0.5119 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.1179, allocations: 0.8701 MB / 0.5127 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1181, allocations: 71.31 kB / 0.5128 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.1183, allocations: 171.4 kB / 0.513 GB, free: 11.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1183, allocations: 0 / 0.513 GB, free: 11.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.1447, allocations: 7.271 MB / 0.5201 GB, free: 4.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/8.78, allocations: 17.16 kB / 0.5201 GB, free: 4.77 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.436805273988284] Failed to read output from testmodel.py, exit status != 0: 8.906063813949004 8.9284467 8.829296139 Calling exit ...