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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 112.5 kB / 18.84 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 196.9 kB / 22.11 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06251/0.06251, allocations: 11.35 MB / 317.4 MB, free: 13.89 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 442.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1147, allocations: 54.89 MB / 497.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003885/0.1186, allocations: 2.236 MB / 499.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.1196, allocations: 444 kB / 499.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1197, allocations: 23.75 kB / 499.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.12, allocations: 71.31 kB / 499.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1201, allocations: 35.61 kB / 499.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.1207, allocations: 243.5 kB / 0.4884 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008002/0.1215, allocations: 0.5509 MB / 0.4889 GB, free: 12.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.1217, allocations: 69.28 kB / 0.489 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.122, allocations: 171.3 kB / 0.4892 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.1223, allocations: 187 kB / 0.4893 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.1223, allocations: 36 kB / 0.4894 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.1224, allocations: 28 kB / 0.4894 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1225, allocations: 123.6 kB / 0.4895 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.1227, allocations: 190.7 kB / 0.4897 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.1232, allocations: 394 kB / 0.4901 GB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1232, allocations: 0 / 0.4901 GB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1232, allocations: 0 / 0.4901 GB, free: 11.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1232, allocations: 0 / 0.4901 GB, free: 11.33 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001242/0.1245, allocations: 0.6688 MB / 0.4907 GB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1245, allocations: 8.031 kB / 0.4907 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.883e-05/0.1246, allocations: 82.7 kB / 0.4908 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1247, allocations: 56.56 kB / 0.4909 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.1253, allocations: 328.7 kB / 0.4912 GB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1253, allocations: 29.38 kB / 0.4912 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.1254, allocations: 44.31 kB / 0.4912 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.1262, allocations: 460 kB / 0.4917 GB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.1262, allocations: 7.938 kB / 0.4917 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.1263, allocations: 16 kB / 0.4917 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1263, allocations: 11.98 kB / 0.4917 GB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.1269, allocations: 314.3 kB / 0.492 GB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.1295, allocations: 1.848 MB / 0.4938 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1299, allocations: 173.6 kB / 0.494 GB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1302, allocations: 112.8 kB / 0.4941 GB, free: 7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1302, allocations: 3.984 kB / 0.4941 GB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.1303, allocations: 38.92 kB / 0.4941 GB, free: 6.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.1303, allocations: 0 / 0.4941 GB, free: 6.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006793/0.1309, allocations: 324.8 kB / 0.4944 GB, free: 6.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.131, allocations: 55.41 kB / 0.4945 GB, free: 6.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.1315, allocations: 429.8 kB / 0.4949 GB, free: 6.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1315, allocations: 29.69 kB / 0.4949 GB, free: 6.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1317, allocations: 260.2 kB / 0.4952 GB, free: 5.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.1318, allocations: 91.27 kB / 0.4953 GB, free: 5.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1319, allocations: 81.64 kB / 0.4953 GB, free: 5.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1321, allocations: 354.8 kB / 0.4957 GB, free: 5.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.1323, allocations: 104.3 kB / 0.4958 GB, free: 5.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.1327, allocations: 241.4 kB / 0.496 GB, free: 4.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.1341, allocations: 0.6207 MB / 0.4966 GB, free: 4.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1341, allocations: 0 / 0.4966 GB, free: 4.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007639/0.1349, allocations: 465.4 kB / 0.4971 GB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1349, allocations: 8.062 kB / 0.4971 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1349, allocations: 8 kB / 0.4971 GB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.135, allocations: 8 kB / 0.4971 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1353, allocations: 91.83 kB / 0.4972 GB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.1353, allocations: 19.86 kB / 0.4972 GB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1355, allocations: 67.55 kB / 0.4973 GB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.1355, allocations: 20 kB / 0.4973 GB, free: 3.535 MB / 366.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.0002727/0.1358, allocations: 191.6 kB / 0.4975 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.1359, allocations: 43.72 kB / 0.4975 GB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.1365, allocations: 293.2 kB / 0.4978 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1365, allocations: 0 / 0.4978 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1365, allocations: 3.938 kB / 0.4978 GB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1365, allocations: 7.984 kB / 0.4978 GB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.137, allocations: 356.5 kB / 0.4981 GB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.137, allocations: 0 / 0.4981 GB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.1373, allocations: 67.89 kB / 0.4982 GB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1373, allocations: 0 / 0.4982 GB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.1373, allocations: 8 kB / 0.4982 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1373, allocations: 0 / 0.4982 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1373, allocations: 7.938 kB / 0.4982 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.1381, allocations: 484.4 kB / 0.4987 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1382, allocations: 39.7 kB / 0.4987 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.1382, allocations: 4 kB / 0.4987 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1383, allocations: 15.98 kB / 0.4987 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.1384, allocations: 19.91 kB / 0.4988 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1384, allocations: 8 kB / 0.4988 GB, free: 1.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003209/0.1387, allocations: 287.1 kB / 0.499 GB, free: 1.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 192 / 0.499 GB, free: 1.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1391, allocations: 71.78 kB / 0.4991 GB, free: 1.594 MB / 366.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.001057/0.1402, allocations: 1.019 MB / 0.5001 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.1407, allocations: 272.8 kB / 0.5004 GB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1407, allocations: 0 / 0.5004 GB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1409, allocations: 112.1 kB / 0.5005 GB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1413, allocations: 40.11 kB / 0.5005 GB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.1462, allocations: 3.761 MB / 0.5042 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.1468, allocations: 0.8421 MB / 0.505 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.147, allocations: 75.22 kB / 0.5051 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.1472, allocations: 147.4 kB / 0.5052 GB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1472, allocations: 0 / 0.5052 GB, free: 11.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.181, allocations: 6.716 MB / 0.5118 GB, free: 4.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.588, allocations: 8.047 kB / 0.5118 GB, free: 4.465 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.472199667012319] Failed to read output from testmodel.py, exit status != 0: 8.663339921011357 8.865673818 8.73937597 Calling exit ...