Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.001782/0.001782, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002701/0.002701, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.984 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.06427/0.06427, allocations: 11.34 MB / 323.8 MB, free: 8.219 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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_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.002143/0.002143, allocations: 75.83 kB / 451.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 56.07 MB / 0.4952 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.00391/0.1093, allocations: 2.287 MB / 0.4975 GB, free: 24 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1106, allocations: 0.5856 MB / 0.498 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.1108, allocations: 23.75 kB / 0.4981 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.111, allocations: 71.31 kB / 0.4981 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.1112, allocations: 31.56 kB / 0.4982 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.112, allocations: 319.4 kB / 0.4985 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008687/0.1129, allocations: 0.6141 MB / 0.4991 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.1131, allocations: 77.41 kB / 0.4991 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.1134, allocations: 195.3 kB / 0.4993 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.1138, allocations: 203 kB / 0.4995 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.1139, allocations: 32 kB / 0.4995 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.114, allocations: 32 kB / 0.4996 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1142, allocations: 139.5 kB / 0.4997 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.1144, allocations: 198.7 kB / 0.4999 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.115, allocations: 417.9 kB / 0.5003 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.115, allocations: 4 kB / 0.5003 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.115, allocations: 0 / 0.5003 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.115, allocations: 0 / 0.5003 GB, free: 13.11 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001565/0.1166, allocations: 0.6921 MB / 0.501 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1166, allocations: 8.031 kB / 0.501 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.1168, allocations: 82.7 kB / 0.5011 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1169, allocations: 56.56 kB / 0.5011 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.1176, allocations: 340.6 kB / 0.5014 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.1176, allocations: 29.38 kB / 0.5015 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.1177, allocations: 44.38 kB / 0.5015 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.1186, allocations: 492.6 kB / 0.502 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.1186, allocations: 11.89 kB / 0.502 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.1186, allocations: 16 kB / 0.502 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1186, allocations: 8 kB / 0.502 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.1193, allocations: 355.6 kB / 0.5024 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.1223, allocations: 1.905 MB / 0.5042 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.123, allocations: 234.3 kB / 0.5044 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1233, allocations: 116.8 kB / 0.5046 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1233, allocations: 3.984 kB / 0.5046 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1233, allocations: 34.56 kB / 0.5046 GB, free: 8.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1233, allocations: 0 / 0.5046 GB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007457/0.1241, allocations: 365.5 kB / 0.5049 GB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1241, allocations: 59.41 kB / 0.505 GB, free: 8.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.1246, allocations: 437.8 kB / 0.5054 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1246, allocations: 33.64 kB / 0.5054 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.1249, allocations: 276.1 kB / 0.5057 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/0.125, allocations: 107.1 kB / 0.5058 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.1251, allocations: 94.08 kB / 0.5059 GB, free: 7.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1253, allocations: 354.8 kB / 0.5062 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1255, allocations: 116.9 kB / 0.5063 GB, free: 6.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.1259, allocations: 269.5 kB / 0.5066 GB, free: 6.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.1278, allocations: 0.7408 MB / 0.5073 GB, free: 5.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1278, allocations: 4 kB / 0.5073 GB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008492/0.1287, allocations: 0.5004 MB / 0.5078 GB, free: 4.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1287, allocations: 4 kB / 0.5078 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1287, allocations: 8 kB / 0.5078 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.1287, allocations: 12.66 kB / 0.5078 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.1292, allocations: 111.8 kB / 0.508 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.1292, allocations: 8 kB / 0.508 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1294, allocations: 63.55 kB / 0.508 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1294, allocations: 23.98 kB / 0.508 GB, free: 4.754 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0002767/0.1297, allocations: 210.5 kB / 0.5082 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.1298, allocations: 43.72 kB / 0.5083 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.1304, allocations: 345.6 kB / 0.5086 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1304, allocations: 7.938 kB / 0.5086 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1304, allocations: 0 / 0.5086 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1304, allocations: 0 / 0.5086 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.1309, allocations: 392.3 kB / 0.509 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.131, allocations: 0 / 0.509 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.1314, allocations: 83.88 kB / 0.5091 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1314, allocations: 0 / 0.5091 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1314, allocations: 8 kB / 0.5091 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.1314, allocations: 7.938 kB / 0.5091 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1314, allocations: 4 kB / 0.5091 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.1322, allocations: 0.5235 MB / 0.5096 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1323, allocations: 43.66 kB / 0.5096 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.1324, allocations: 11.98 kB / 0.5097 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1325, allocations: 15.92 kB / 0.5097 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.1326, allocations: 27.97 kB / 0.5097 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1326, allocations: 8 kB / 0.5097 GB, free: 2.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.133, allocations: 299 kB / 0.51 GB, free: 2.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.133, allocations: 0 / 0.51 GB, free: 2.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.1333, allocations: 79.78 kB / 0.5101 GB, free: 2.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.001165/0.1345, allocations: 1.074 MB / 0.5111 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.1351, allocations: 309 kB / 0.5114 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1351, allocations: 4 kB / 0.5114 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.1353, allocations: 127.8 kB / 0.5115 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1357, allocations: 47.61 kB / 0.5116 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2114/0.3471, allocations: 3.987 MB / 0.5155 GB, free: 21.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3474, allocations: 0.8562 MB / 0.5163 GB, free: 20.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.3476, allocations: 84.66 kB / 0.5164 GB, free: 20.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3478, allocations: 159.7 kB / 0.5165 GB, free: 20.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3478, allocations: 0 / 0.5165 GB, free: 20.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05302/0.4008, allocations: 7.395 MB / 0.5238 GB, free: 20.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 8.281 kB / 0.5238 GB, free: 20.18 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.458520725835115] Failed to read output from testmodel.py, exit status != 0: 11.875502065988258 11.889359633 11.771637117 Calling exit ...