Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001228/0.001228, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001351/0.001351, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06075/0.06075, allocations: 11.34 MB / 320.9 MB, free: 14.09 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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",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.00186/0.00186, allocations: 60.59 kB / 446.5 MB, free: 38.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09978, allocations: 56 MB / 0.4908 GB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002614/0.1024, allocations: 2.234 MB / 0.4929 GB, free: 1.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.1033, allocations: 0.5387 MB / 0.4935 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1034, allocations: 19.81 kB / 0.4935 GB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1036, allocations: 67.31 kB / 0.4935 GB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.1037, allocations: 39.61 kB / 0.4936 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.1042, allocations: 259.5 kB / 0.4938 GB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.1047, allocations: 0.5354 MB / 0.4944 GB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1049, allocations: 77.25 kB / 0.4944 GB, free: 15.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1051, allocations: 187.3 kB / 0.4946 GB, free: 15.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.1053, allocations: 195.1 kB / 0.4948 GB, free: 15.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.1054, allocations: 28 kB / 0.4948 GB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.1054, allocations: 32 kB / 0.4949 GB, free: 15.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1056, allocations: 135.5 kB / 0.495 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1058, allocations: 198.7 kB / 0.4952 GB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.1062, allocations: 398.1 kB / 0.4955 GB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1062, allocations: 0 / 0.4955 GB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1062, allocations: 0 / 0.4955 GB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1062, allocations: 0 / 0.4955 GB, free: 14.5 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.001281/0.1075, allocations: 0.7654 MB / 0.4963 GB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1075, allocations: 12.03 kB / 0.4963 GB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.606e-05/0.1076, allocations: 9.188 kB / 0.4963 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.94e-05/0.1076, allocations: 78.7 kB / 0.4964 GB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/0.1077, allocations: 60.61 kB / 0.4965 GB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.1083, allocations: 399.9 kB / 0.4968 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-05/0.1083, allocations: 84.97 kB / 0.4969 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.1084, allocations: 40.38 kB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.1091, allocations: 491.4 kB / 0.4974 GB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.1092, allocations: 3.953 kB / 0.4974 GB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1092, allocations: 16 kB / 0.4974 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.1092, allocations: 12 kB / 0.4975 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/0.1098, allocations: 322.3 kB / 0.4978 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.1126, allocations: 1.959 MB / 0.4997 GB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.113, allocations: 174.5 kB / 0.4998 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1132, allocations: 116.8 kB / 0.4999 GB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1132, allocations: 4 kB / 0.5 GB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1133, allocations: 42.88 kB / 0.5 GB, free: 9.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.1133, allocations: 0 / 0.5 GB, free: 9.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007048/0.114, allocations: 344.3 kB / 0.5003 GB, free: 9.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.114, allocations: 55.41 kB / 0.5004 GB, free: 9.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.1145, allocations: 421.9 kB / 0.5008 GB, free: 8.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1145, allocations: 29.7 kB / 0.5008 GB, free: 8.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.1147, allocations: 276.1 kB / 0.5011 GB, free: 8.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.1148, allocations: 91.28 kB / 0.5012 GB, free: 8.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.1149, allocations: 82.02 kB / 0.5012 GB, free: 8.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1151, allocations: 358.8 kB / 0.5016 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1153, allocations: 100.8 kB / 0.5017 GB, free: 7.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.1156, allocations: 258.1 kB / 0.5019 GB, free: 7.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.1172, allocations: 0.6841 MB / 0.5026 GB, free: 6.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1172, allocations: 0 / 0.5026 GB, free: 6.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007446/0.118, allocations: 484.9 kB / 0.503 GB, free: 6.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.118, allocations: 8.656 kB / 0.5031 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.118, allocations: 4 kB / 0.5031 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.118, allocations: 12 kB / 0.5031 GB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.1184, allocations: 103.8 kB / 0.5032 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1185, allocations: 8 kB / 0.5032 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1187, allocations: 51.66 kB / 0.5032 GB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1187, allocations: 16 kB / 0.5032 GB, free: 6.168 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 (54): * Single equations (assignments): 54 * 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.000274/0.119, allocations: 219.9 kB / 0.5035 GB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.119, allocations: 43.72 kB / 0.5035 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005794/0.1196, allocations: 308 kB / 0.5038 GB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1196, allocations: 8 kB / 0.5038 GB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1196, allocations: 0 / 0.5038 GB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1196, allocations: 0 / 0.5038 GB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1201, allocations: 409.3 kB / 0.5042 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1201, allocations: 4 kB / 0.5042 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.1205, allocations: 67.95 kB / 0.5043 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1205, allocations: 4 kB / 0.5043 GB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1206, allocations: 7.984 kB / 0.5043 GB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1206, allocations: 7.938 kB / 0.5043 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1206, allocations: 0 / 0.5043 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.1213, allocations: 0.491 MB / 0.5048 GB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.1214, allocations: 120.8 kB / 0.5049 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.1215, allocations: 8 kB / 0.5049 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1216, allocations: 11.98 kB / 0.5049 GB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.1217, allocations: 15.98 kB / 0.5049 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1217, allocations: 11.98 kB / 0.5049 GB, free: 4.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.122, allocations: 287.1 kB / 0.5052 GB, free: 4.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.122, allocations: 0 / 0.5052 GB, free: 4.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.1223, allocations: 79.78 kB / 0.5053 GB, free: 4.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (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.00105/0.1234, allocations: 1.039 MB / 0.5063 GB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.1239, allocations: 288.7 kB / 0.5066 GB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1239, allocations: 0 / 0.5066 GB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.1241, allocations: 119.9 kB / 0.5067 GB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1245, allocations: 43.3 kB / 0.5067 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.1292, allocations: 3.85 MB / 0.5105 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.1297, allocations: 0.8458 MB / 0.5113 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.1299, allocations: 75.22 kB / 0.5114 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.1301, allocations: 155.4 kB / 0.5115 GB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1301, allocations: 0 / 0.5115 GB, free: 13.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1561, allocations: 6.682 MB / 0.518 GB, free: 6.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.557, allocations: 18.69 kB / 0.5181 GB, free: 6.824 MB / 382.1 MB " [Timeout remaining time 651] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.282782197988126] Failed to read output from testmodel.py, exit status != 0: 8.683190155017655 8.708948112 8.598162004 Calling exit ...