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.002066/0.002066, allocations: 108.1 kB / 16.45 MB, free: 6.453 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.002262/0.002262, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.578/1.578, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.06423/0.06423, allocations: 11.32 MB / 320.2 MB, free: 9.402 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.001898/0.001898, allocations: 63.91 kB / 445.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1207, allocations: 56.02 MB / 0.4901 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004017/0.1247, allocations: 2.436 MB / 0.4924 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1262, allocations: 0.7025 MB / 0.4931 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1263, allocations: 19.81 kB / 0.4931 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1266, allocations: 79.19 kB / 0.4932 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1267, allocations: 47.48 kB / 0.4933 GB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.1275, allocations: 355.4 kB / 0.4936 GB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.1283, allocations: 0.7116 MB / 0.4943 GB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1285, allocations: 83.33 kB / 0.4944 GB, free: 1.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.1287, allocations: 227.2 kB / 0.4946 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.129, allocations: 234.8 kB / 0.4948 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.1291, allocations: 40 kB / 0.4949 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.1292, allocations: 40 kB / 0.4949 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.1293, allocations: 159.5 kB / 0.4951 GB, free: 480 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.1295, allocations: 218.6 kB / 0.4953 GB, free: 260 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.1301, allocations: 0.5134 MB / 0.4958 GB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1301, allocations: 0 / 0.4958 GB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1301, allocations: 4 kB / 0.4958 GB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1301, allocations: 0 / 0.4958 GB, free: 15.73 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.001449/0.1316, allocations: 0.7944 MB / 0.4965 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1316, allocations: 8.031 kB / 0.4965 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.1317, allocations: 82.7 kB / 0.4966 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1318, allocations: 64.52 kB / 0.4967 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.1325, allocations: 454.2 kB / 0.4971 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.1326, allocations: 29.38 kB / 0.4972 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.1326, allocations: 40.38 kB / 0.4972 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.1335, allocations: 476.6 kB / 0.4976 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.1335, allocations: 11.88 kB / 0.4977 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1335, allocations: 16 kB / 0.4977 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1335, allocations: 8 kB / 0.4977 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.1342, allocations: 343.7 kB / 0.498 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.1369, allocations: 2.001 MB / 0.5 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1372, allocations: 198.4 kB / 0.5002 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.1374, allocations: 88.81 kB / 0.5002 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1374, allocations: 0 / 0.5002 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1375, allocations: 38.55 kB / 0.5003 GB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.042e-06/0.1375, allocations: 0 / 0.5003 GB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007892/0.1382, allocations: 344.2 kB / 0.5006 GB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.1383, allocations: 55.34 kB / 0.5007 GB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.139, allocations: 0.494 MB / 0.5011 GB, free: 9.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1391, allocations: 29.7 kB / 0.5012 GB, free: 9.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.1394, allocations: 300 kB / 0.5014 GB, free: 9.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.1394, allocations: 83.33 kB / 0.5015 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1396, allocations: 86.08 kB / 0.5016 GB, free: 9.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.1398, allocations: 362.8 kB / 0.502 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.14, allocations: 96.81 kB / 0.502 GB, free: 8.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.1404, allocations: 284.1 kB / 0.5023 GB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.1423, allocations: 0.6587 MB / 0.503 GB, free: 7.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.1424, allocations: 4 kB / 0.503 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008558/0.1432, allocations: 460.8 kB / 0.5034 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1432, allocations: 11.94 kB / 0.5034 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1432, allocations: 8 kB / 0.5034 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1433, allocations: 8 kB / 0.5034 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.1437, allocations: 92.45 kB / 0.5035 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.1437, allocations: 15.92 kB / 0.5035 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1439, allocations: 55.62 kB / 0.5036 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.1439, allocations: 23.98 kB / 0.5036 GB, free: 7.215 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.000318/0.1443, allocations: 211.1 kB / 0.5038 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.1443, allocations: 43.72 kB / 0.5039 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.145, allocations: 319.2 kB / 0.5042 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.145, allocations: 4 kB / 0.5042 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.145, allocations: 0 / 0.5042 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.145, allocations: 3.984 kB / 0.5042 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.1455, allocations: 437.2 kB / 0.5046 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1455, allocations: 4 kB / 0.5046 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1459, allocations: 63.95 kB / 0.5046 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1459, allocations: 4 kB / 0.5047 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1459, allocations: 4 kB / 0.5047 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1459, allocations: 7.938 kB / 0.5047 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1459, allocations: 3.938 kB / 0.5047 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.1467, allocations: 0.4917 MB / 0.5051 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1468, allocations: 120.8 kB / 0.5053 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.1469, allocations: 4.062 kB / 0.5053 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.147, allocations: 8 kB / 0.5053 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.1471, allocations: 15.97 kB / 0.5053 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1471, allocations: 8 kB / 0.5053 GB, free: 5.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.1475, allocations: 342.8 kB / 0.5056 GB, free: 5.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1475, allocations: 0 / 0.5056 GB, free: 5.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.1479, allocations: 71.78 kB / 0.5057 GB, free: 4.988 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.001099/0.149, allocations: 1.048 MB / 0.5067 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1496, allocations: 275.5 kB / 0.507 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1496, allocations: 0 / 0.507 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.1498, allocations: 113.5 kB / 0.5071 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1502, allocations: 41.95 kB / 0.5071 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.232/0.3822, allocations: 4.136 MB / 0.5112 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3825, allocations: 0.8686 MB / 0.512 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.3827, allocations: 74.56 kB / 0.5121 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3829, allocations: 166.9 kB / 0.5122 GB, free: 22.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3829, allocations: 0 / 0.5122 GB, free: 22.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.4187, allocations: 7.243 MB / 0.5193 GB, free: 21.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/9.143, allocations: 7.422 kB / 0.5193 GB, free: 21.97 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 & 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: 12.00551135999558] Failed to read output from testmodel.py, exit status != 0: 9.216259790002368 9.228281832 9.095797299000001 Calling exit ...