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.001252/0.001252, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001482/0.001482, allocations: 220 kB / 23.03 MB, free: 4.922 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.06151/0.06151, allocations: 11.34 MB / 324.6 MB, free: 8.145 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_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.001942/0.001942, allocations: 67.91 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1085, allocations: 56.07 MB / 0.4959 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003362/0.1119, allocations: 2.104 MB / 0.498 GB, free: 72 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.1128, allocations: 451.9 kB / 0.4984 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1129, allocations: 19.81 kB / 0.4984 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.1131, allocations: 71.31 kB / 0.4985 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1132, allocations: 27.62 kB / 0.4985 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.1138, allocations: 243.5 kB / 0.4987 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006794/0.1145, allocations: 0.5471 MB / 0.4993 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1147, allocations: 81.45 kB / 0.4994 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1149, allocations: 171.3 kB / 0.4995 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1151, allocations: 183.1 kB / 0.4997 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.1152, allocations: 28 kB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.1153, allocations: 28 kB / 0.4998 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1154, allocations: 135.6 kB / 0.4999 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1156, allocations: 139.1 kB / 0.5 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.116, allocations: 394 kB / 0.5004 GB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.116, allocations: 0 / 0.5004 GB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.116, allocations: 0 / 0.5004 GB, free: 13.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.116, allocations: 4 kB / 0.5004 GB, free: 13.58 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.001183/0.1172, allocations: 0.6766 MB / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1172, allocations: 8.031 kB / 0.5011 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.168e-05/0.1173, allocations: 9.188 kB / 0.5011 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.215e-05/0.1173, allocations: 78.72 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.1174, allocations: 64.53 kB / 0.5012 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.1179, allocations: 328.7 kB / 0.5015 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.118, allocations: 33.38 kB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.118, allocations: 36.38 kB / 0.5016 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.1187, allocations: 463.7 kB / 0.502 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.1188, allocations: 11.89 kB / 0.502 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1188, allocations: 16 kB / 0.5021 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1188, allocations: 12 kB / 0.5021 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.1194, allocations: 314.3 kB / 0.5024 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.1218, allocations: 1.782 MB / 0.5041 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.1222, allocations: 170.4 kB / 0.5043 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.1224, allocations: 108.8 kB / 0.5044 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1224, allocations: 4 kB / 0.5044 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1224, allocations: 34.88 kB / 0.5044 GB, free: 9.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.1224, allocations: 0 / 0.5044 GB, free: 9.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006441/0.1231, allocations: 330.8 kB / 0.5047 GB, free: 8.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1231, allocations: 59.34 kB / 0.5048 GB, free: 8.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.1236, allocations: 429.8 kB / 0.5052 GB, free: 8.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1236, allocations: 25.7 kB / 0.5052 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.1238, allocations: 272.1 kB / 0.5055 GB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.1238, allocations: 83.33 kB / 0.5056 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.124, allocations: 85.42 kB / 0.5056 GB, free: 7.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1241, allocations: 350.8 kB / 0.506 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.1243, allocations: 100.4 kB / 0.5061 GB, free: 7.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1246, allocations: 249.4 kB / 0.5063 GB, free: 7.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.126, allocations: 0.6271 MB / 0.5069 GB, free: 6.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.126, allocations: 0 / 0.5069 GB, free: 6.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006934/0.1267, allocations: 464.7 kB / 0.5074 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1268, allocations: 10.34 kB / 0.5074 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1268, allocations: 4.656 kB / 0.5074 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.1268, allocations: 11.98 kB / 0.5074 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.1271, allocations: 107.8 kB / 0.5075 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1271, allocations: 4 kB / 0.5075 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1273, allocations: 55.66 kB / 0.5075 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1274, allocations: 20 kB / 0.5076 GB, free: 5.824 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.0002548/0.1276, allocations: 203.4 kB / 0.5078 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.1277, allocations: 43.75 kB / 0.5078 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.1282, allocations: 282.9 kB / 0.5081 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1282, allocations: 7.938 kB / 0.5081 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1282, allocations: 3.938 kB / 0.5081 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1282, allocations: 7.984 kB / 0.5081 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.1287, allocations: 336.5 kB / 0.5084 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1287, allocations: 0 / 0.5084 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.129, allocations: 59.95 kB / 0.5085 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.129, allocations: 0 / 0.5085 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.129, allocations: 8 kB / 0.5085 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.129, allocations: 3.938 kB / 0.5085 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.129, allocations: 0 / 0.5085 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.1297, allocations: 486.4 kB / 0.5089 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1297, allocations: 59.56 kB / 0.509 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1298, allocations: 8 kB / 0.509 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1299, allocations: 11.92 kB / 0.509 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.13, allocations: 19.97 kB / 0.509 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.13, allocations: 4 kB / 0.509 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.1303, allocations: 291.1 kB / 0.5093 GB, free: 3.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1303, allocations: 0 / 0.5093 GB, free: 3.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1306, allocations: 67.83 kB / 0.5094 GB, free: 3.891 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.0009727/0.1316, allocations: 1.019 MB / 0.5104 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005333/0.1321, allocations: 272.7 kB / 0.5106 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1321, allocations: 0 / 0.5106 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1323, allocations: 115.9 kB / 0.5107 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1327, allocations: 47.39 kB / 0.5108 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.187/0.3197, allocations: 3.735 MB / 0.5144 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3199, allocations: 234.2 kB / 0.5147 GB, free: 21.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.3201, allocations: 73.36 kB / 0.5147 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3203, allocations: 152.7 kB / 0.5149 GB, free: 21.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3203, allocations: 0.8438 kB / 0.5149 GB, free: 21.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.3494, allocations: 6.716 MB / 0.5214 GB, free: 21.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.53, allocations: 9.25 kB / 0.5214 GB, free: 21.17 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 & /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: 14.075414400082082] Failed to read output from testmodel.py, exit status != 0: 11.695707750041038 11.710410516 11.59161567 Calling exit ...