Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.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.001284/0.001284, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001463/0.001463, allocations: 217.4 kB / 22.26 MB, free: 5.082 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.012 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.06547/0.06547, allocations: 11.34 MB / 323.8 MB, free: 8.246 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.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",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.002026/0.002026, allocations: 67.89 kB / 451 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 56.06 MB / 0.4952 GB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003906/0.1243, allocations: 2.24 MB / 0.4974 GB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1253, allocations: 455.9 kB / 0.4978 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1255, allocations: 15.81 kB / 0.4979 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1257, allocations: 67.33 kB / 0.4979 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1258, allocations: 31.61 kB / 0.498 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.1265, allocations: 247.5 kB / 0.4982 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000738/0.1272, allocations: 0.5509 MB / 0.4987 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.1274, allocations: 73.47 kB / 0.4988 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.1277, allocations: 175.3 kB / 0.499 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1279, allocations: 187.1 kB / 0.4991 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.128, allocations: 28 kB / 0.4992 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.128, allocations: 28 kB / 0.4992 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1282, allocations: 135.6 kB / 0.4993 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1284, allocations: 178.8 kB / 0.4995 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.1288, allocations: 398 kB / 0.4999 GB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1288, allocations: 0 / 0.4999 GB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1288, allocations: 0 / 0.4999 GB, free: 13.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1289, allocations: 4 kB / 0.4999 GB, free: 13.57 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001244/0.1301, allocations: 0.6671 MB / 0.5005 GB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1301, allocations: 12.03 kB / 0.5005 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.1302, allocations: 74.72 kB / 0.5006 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.1303, allocations: 56.61 kB / 0.5007 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.1309, allocations: 340.6 kB / 0.501 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.131, allocations: 33.38 kB / 0.501 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.1311, allocations: 36.38 kB / 0.5011 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.1319, allocations: 463.9 kB / 0.5015 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.1319, allocations: 11.89 kB / 0.5015 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.1319, allocations: 16 kB / 0.5015 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1319, allocations: 8 kB / 0.5015 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.1325, allocations: 314.3 kB / 0.5018 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.1352, allocations: 1.844 MB / 0.5036 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1357, allocations: 174.5 kB / 0.5038 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1359, allocations: 100.8 kB / 0.5039 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1359, allocations: 3.984 kB / 0.5039 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.136, allocations: 38.94 kB / 0.5039 GB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.136, allocations: 4 kB / 0.5039 GB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007159/0.1367, allocations: 327.8 kB / 0.5043 GB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.1367, allocations: 51.41 kB / 0.5043 GB, free: 8.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.1372, allocations: 429.8 kB / 0.5047 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1373, allocations: 25.7 kB / 0.5047 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1375, allocations: 272.1 kB / 0.505 GB, free: 8.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.1376, allocations: 87.31 kB / 0.5051 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1377, allocations: 93.36 kB / 0.5052 GB, free: 7.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1379, allocations: 350.8 kB / 0.5055 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1381, allocations: 100.4 kB / 0.5056 GB, free: 7.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.1384, allocations: 241.4 kB / 0.5058 GB, free: 7.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.1399, allocations: 0.6348 MB / 0.5065 GB, free: 6.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1399, allocations: 0 / 0.5065 GB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007832/0.1407, allocations: 461.1 kB / 0.5069 GB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1407, allocations: 11.94 kB / 0.5069 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1407, allocations: 4 kB / 0.5069 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.1407, allocations: 11.94 kB / 0.5069 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.1411, allocations: 91.88 kB / 0.507 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.1411, allocations: 15.88 kB / 0.507 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1413, allocations: 55.66 kB / 0.5071 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1413, allocations: 16.34 kB / 0.5071 GB, free: 5.773 MB / 382.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002927/0.1416, allocations: 211.4 kB / 0.5073 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1417, allocations: 39.77 kB / 0.5073 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.1423, allocations: 291.5 kB / 0.5076 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1423, allocations: 0 / 0.5076 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1423, allocations: 3.938 kB / 0.5076 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1423, allocations: 4 kB / 0.5076 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.1428, allocations: 356.5 kB / 0.508 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1428, allocations: 0 / 0.508 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.1431, allocations: 71.89 kB / 0.508 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1431, allocations: 0 / 0.508 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1431, allocations: 11.98 kB / 0.508 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1431, allocations: 0 / 0.508 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1431, allocations: 3.938 kB / 0.508 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.1439, allocations: 482.3 kB / 0.5085 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.144, allocations: 43.66 kB / 0.5085 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.144, allocations: 8.188 kB / 0.5086 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1441, allocations: 15.98 kB / 0.5086 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1442, allocations: 23.78 kB / 0.5086 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1442, allocations: 11.98 kB / 0.5086 GB, free: 4.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000331/0.1445, allocations: 287.1 kB / 0.5089 GB, free: 3.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1445, allocations: 0 / 0.5089 GB, free: 3.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000357/0.1449, allocations: 67.83 kB / 0.5089 GB, free: 3.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (23): * Single equations (assignments): 23 * 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.001085/0.146, allocations: 1.025 MB / 0.5099 GB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.1465, allocations: 276.5 kB / 0.5102 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1465, allocations: 0 / 0.5102 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.1467, allocations: 111.7 kB / 0.5103 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1471, allocations: 46.67 kB / 0.5104 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2289/0.376, allocations: 3.741 MB / 0.514 GB, free: 21.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3762, allocations: 0.8408 MB / 0.5148 GB, free: 21.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.3764, allocations: 77.45 kB / 0.5149 GB, free: 21.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3766, allocations: 150.7 kB / 0.515 GB, free: 21.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3766, allocations: 0 / 0.515 GB, free: 21.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/0.4283, allocations: 6.798 MB / 0.5217 GB, free: 20.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 4.031 kB / 0.5217 GB, free: 20.55 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.878676696993352] Failed to read output from testmodel.py, exit status != 0: 12.099024410999846 12.125305136 11.992010046 Calling exit ...