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.001743/0.001743, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002183/0.002183, allocations: 215.1 kB / 22.25 MB, free: 5.242 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.785 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.06249/0.06249, allocations: 11.34 MB / 323.8 MB, free: 8.008 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.002306/0.002306, allocations: 71.88 kB / 451 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1105, allocations: 56.07 MB / 0.4952 GB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003824/0.1144, allocations: 2.11 MB / 0.4972 GB, free: 8 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1154, allocations: 448 kB / 0.4976 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.1157, allocations: 15.81 kB / 0.4977 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1159, allocations: 67.33 kB / 0.4977 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.116, allocations: 31.61 kB / 0.4978 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.1167, allocations: 235.6 kB / 0.498 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.1174, allocations: 0.543 MB / 0.4985 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1176, allocations: 69.45 kB / 0.4986 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.1179, allocations: 179.3 kB / 0.4987 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1181, allocations: 163.1 kB / 0.4989 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.975e-05/0.1182, allocations: 28 kB / 0.4989 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.1183, allocations: 28 kB / 0.499 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.1184, allocations: 147.4 kB / 0.4991 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1186, allocations: 139.1 kB / 0.4992 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.1191, allocations: 390.1 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1191, allocations: 0 / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1191, allocations: 4 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1191, allocations: 4 kB / 0.4996 GB, free: 13.55 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.001191/0.1203, allocations: 0.6747 MB / 0.5003 GB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1203, allocations: 8.031 kB / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.1204, allocations: 78.72 kB / 0.5003 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.1205, allocations: 52.61 kB / 0.5004 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.1211, allocations: 336.7 kB / 0.5007 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.1211, allocations: 33.31 kB / 0.5008 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.1212, allocations: 40.38 kB / 0.5008 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.122, allocations: 459.9 kB / 0.5012 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.122, allocations: 15.89 kB / 0.5012 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.1221, allocations: 16 kB / 0.5013 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1221, allocations: 12 kB / 0.5013 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.1227, allocations: 310.3 kB / 0.5016 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.1253, allocations: 1.786 MB / 0.5033 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.1257, allocations: 171.8 kB / 0.5035 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1259, allocations: 104.8 kB / 0.5036 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.126, allocations: 0 / 0.5036 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.126, allocations: 38.94 kB / 0.5036 GB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.126, allocations: 0 / 0.5036 GB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006609/0.1267, allocations: 335.5 kB / 0.5039 GB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1267, allocations: 51.41 kB / 0.504 GB, free: 8.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.1272, allocations: 433.8 kB / 0.5044 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1272, allocations: 29.7 kB / 0.5044 GB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1274, allocations: 272.1 kB / 0.5047 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.1275, allocations: 79.33 kB / 0.5048 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1276, allocations: 89.42 kB / 0.5048 GB, free: 7.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1278, allocations: 354.8 kB / 0.5052 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.128, allocations: 100.4 kB / 0.5053 GB, free: 7.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.1283, allocations: 249.4 kB / 0.5055 GB, free: 7.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.1297, allocations: 0.6309 MB / 0.5061 GB, free: 6.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1297, allocations: 0 / 0.5061 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000735/0.1305, allocations: 460.8 kB / 0.5066 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1305, allocations: 12.64 kB / 0.5066 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1305, allocations: 4 kB / 0.5066 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1305, allocations: 12 kB / 0.5066 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.1309, allocations: 91.83 kB / 0.5067 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1309, allocations: 11.94 kB / 0.5067 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.1311, allocations: 55.59 kB / 0.5067 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.1311, allocations: 23.97 kB / 0.5068 GB, free: 5.801 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.0002702/0.1314, allocations: 203.5 kB / 0.507 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.1314, allocations: 43.77 kB / 0.507 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/0.132, allocations: 291.4 kB / 0.5073 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.132, allocations: 0 / 0.5073 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.132, allocations: 7.938 kB / 0.5073 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.132, allocations: 4 kB / 0.5073 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.1325, allocations: 340.5 kB / 0.5076 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1325, allocations: 0 / 0.5076 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.1328, allocations: 63.95 kB / 0.5077 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1328, allocations: 0 / 0.5077 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1328, allocations: 11.98 kB / 0.5077 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1328, allocations: 0 / 0.5077 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1328, allocations: 3.938 kB / 0.5077 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.1336, allocations: 490.2 kB / 0.5082 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.1337, allocations: 39.66 kB / 0.5082 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.1337, allocations: 8 kB / 0.5082 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1338, allocations: 15.98 kB / 0.5082 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.1339, allocations: 19.91 kB / 0.5082 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1339, allocations: 11.98 kB / 0.5083 GB, free: 4.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.1342, allocations: 283.1 kB / 0.5085 GB, free: 3.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1342, allocations: 4 kB / 0.5085 GB, free: 3.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.1346, allocations: 63.89 kB / 0.5086 GB, free: 3.867 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.001062/0.1356, allocations: 1.016 MB / 0.5096 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.1361, allocations: 276.6 kB / 0.5098 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1361, allocations: 0 / 0.5098 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1363, allocations: 112.4 kB / 0.51 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1367, allocations: 45.52 kB / 0.51 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1964/0.3331, allocations: 3.733 MB / 0.5136 GB, free: 21.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3333, allocations: 236 kB / 0.5139 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.3335, allocations: 75.27 kB / 0.5139 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3336, allocations: 155.1 kB / 0.5141 GB, free: 21.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3336, allocations: 0 / 0.5141 GB, free: 21.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.3684, allocations: 6.956 MB / 0.5209 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.14, allocations: 6.672 kB / 0.5209 GB, free: 20.68 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 13.691524468827993] Failed to read output from testmodel.py, exit status != 0: 11.24935097899288 11.264303202 11.142294386 Calling exit ...