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.001416/0.001416, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.001583/0.001583, allocations: 215 kB / 20.13 MB, free: 2.949 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.06142/0.06142, allocations: 11.33 MB / 320.9 MB, free: 14.13 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.001918/0.001918, allocations: 67.25 kB / 446.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1067, allocations: 56.01 MB / 0.4908 GB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00258/0.1092, allocations: 2.227 MB / 0.4929 GB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.1099, allocations: 455.9 kB / 0.4934 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1101, allocations: 15.81 kB / 0.4934 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.1103, allocations: 63.33 kB / 0.4934 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.1103, allocations: 35.61 kB / 0.4935 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1107, allocations: 211.6 kB / 0.4937 GB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1111, allocations: 0.5042 MB / 0.4942 GB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1113, allocations: 81.17 kB / 0.4943 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1115, allocations: 171.3 kB / 0.4944 GB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.1117, allocations: 179.1 kB / 0.4946 GB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.1118, allocations: 32 kB / 0.4946 GB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.1119, allocations: 28 kB / 0.4946 GB, free: 15.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.1121, allocations: 135.5 kB / 0.4948 GB, free: 15.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.1122, allocations: 186.8 kB / 0.495 GB, free: 15.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1127, allocations: 382.1 kB / 0.4953 GB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1127, allocations: 7.938 kB / 0.4953 GB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1127, allocations: 0 / 0.4953 GB, free: 14.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1127, allocations: 4 kB / 0.4953 GB, free: 14.76 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.001141/0.1138, allocations: 0.7441 MB / 0.4961 GB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1139, allocations: 12.02 kB / 0.4961 GB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.961e-05/0.1139, allocations: 13.19 kB / 0.4961 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.819e-05/0.114, allocations: 78.72 kB / 0.4962 GB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.114, allocations: 52.61 kB / 0.4962 GB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.1146, allocations: 395.9 kB / 0.4966 GB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1146, allocations: 25.38 kB / 0.4966 GB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.1147, allocations: 48.36 kB / 0.4967 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.1154, allocations: 463.6 kB / 0.4971 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.1154, allocations: 7.938 kB / 0.4971 GB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1155, allocations: 16 kB / 0.4971 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1155, allocations: 12 kB / 0.4971 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.1161, allocations: 310.3 kB / 0.4974 GB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.1186, allocations: 1.881 MB / 0.4993 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.119, allocations: 174.4 kB / 0.4994 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1192, allocations: 111.1 kB / 0.4995 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1192, allocations: 4 kB / 0.4995 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1193, allocations: 42.88 kB / 0.4996 GB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.1193, allocations: 0 / 0.4996 GB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006738/0.12, allocations: 325.1 kB / 0.4999 GB, free: 9.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.12, allocations: 55.41 kB / 0.4999 GB, free: 9.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.1205, allocations: 425.9 kB / 0.5003 GB, free: 9.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1205, allocations: 25.7 kB / 0.5004 GB, free: 9.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1207, allocations: 276.1 kB / 0.5006 GB, free: 9.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.1208, allocations: 83.33 kB / 0.5007 GB, free: 8.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1209, allocations: 85.42 kB / 0.5008 GB, free: 8.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1211, allocations: 350.8 kB / 0.5011 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1213, allocations: 100.4 kB / 0.5012 GB, free: 8.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1216, allocations: 245.3 kB / 0.5015 GB, free: 8.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.1232, allocations: 0.6415 MB / 0.5021 GB, free: 7.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1232, allocations: 4 kB / 0.5021 GB, free: 7.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007323/0.1239, allocations: 453 kB / 0.5025 GB, free: 6.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.124, allocations: 8 kB / 0.5025 GB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.124, allocations: 4 kB / 0.5025 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.124, allocations: 8 kB / 0.5025 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.1243, allocations: 99.77 kB / 0.5026 GB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.1243, allocations: 16.47 kB / 0.5027 GB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1246, allocations: 55.66 kB / 0.5027 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.1246, allocations: 20 kB / 0.5027 GB, free: 6.738 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.0002853/0.1249, allocations: 200.1 kB / 0.5029 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.1249, allocations: 39.77 kB / 0.503 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.1255, allocations: 289.1 kB / 0.5032 GB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1255, allocations: 7.938 kB / 0.5032 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1255, allocations: 0 / 0.5032 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1255, allocations: 0 / 0.5032 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.126, allocations: 393.3 kB / 0.5036 GB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.126, allocations: 4 kB / 0.5036 GB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.1264, allocations: 67.89 kB / 0.5037 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1264, allocations: 0 / 0.5037 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1264, allocations: 11.98 kB / 0.5037 GB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1264, allocations: 3.938 kB / 0.5037 GB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1264, allocations: 0 / 0.5037 GB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.1271, allocations: 494.2 kB / 0.5042 GB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1273, allocations: 116.8 kB / 0.5043 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.1273, allocations: 11.98 kB / 0.5043 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1274, allocations: 15.92 kB / 0.5043 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.1275, allocations: 11.98 kB / 0.5043 GB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1275, allocations: 8 kB / 0.5043 GB, free: 5.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.1278, allocations: 287.1 kB / 0.5046 GB, free: 4.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1278, allocations: 0 / 0.5046 GB, free: 4.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.1282, allocations: 63.89 kB / 0.5047 GB, free: 4.664 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.001117/0.1293, allocations: 1.03 MB / 0.5057 GB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005556/0.1299, allocations: 276.3 kB / 0.5059 GB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1299, allocations: 3.938 kB / 0.5059 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.1301, allocations: 111 kB / 0.506 GB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1304, allocations: 43.23 kB / 0.5061 GB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.1352, allocations: 3.743 MB / 0.5097 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.1357, allocations: 0.8461 MB / 0.5106 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1359, allocations: 75.22 kB / 0.5106 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1361, allocations: 147.4 kB / 0.5108 GB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1361, allocations: 0 / 0.5108 GB, free: 14.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.1622, allocations: 6.522 MB / 0.5171 GB, free: 7.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.559, allocations: 10.75 kB / 0.5172 GB, free: 7.797 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 & /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: 11.295980573981069] Failed to read output from testmodel.py, exit status != 0: 8.683712657017168 8.702766171 8.585201913 Calling exit ...