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.001234/0.001234, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001501/0.001501, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.797 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.06321/0.06321, allocations: 11.33 MB / 323.8 MB, free: 8.133 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.002305/0.002305, allocations: 75.89 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1119, allocations: 56.06 MB / 0.4952 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003654/0.1155, allocations: 2.15 MB / 0.4973 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1169, allocations: 0.5778 MB / 0.4978 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.1172, allocations: 19.75 kB / 0.4978 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1174, allocations: 67.31 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1176, allocations: 35.62 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/0.1185, allocations: 311.4 kB / 0.4982 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008785/0.1194, allocations: 0.6062 MB / 0.4988 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.1196, allocations: 69.47 kB / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.1199, allocations: 195.2 kB / 0.4991 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1202, allocations: 191 kB / 0.4993 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.1203, allocations: 32 kB / 0.4993 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.1204, allocations: 32 kB / 0.4993 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1205, allocations: 143.5 kB / 0.4995 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.1207, allocations: 159 kB / 0.4996 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.1212, allocations: 422 kB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1212, allocations: 0 / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1212, allocations: 0 / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1212, allocations: 0 / 0.5 GB, free: 13.16 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.001252/0.1225, allocations: 0.6921 MB / 0.5007 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1225, allocations: 12.03 kB / 0.5007 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1226, allocations: 78.7 kB / 0.5008 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1227, allocations: 56.56 kB / 0.5008 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.1234, allocations: 344.6 kB / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.1234, allocations: 29.38 kB / 0.5012 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.1235, allocations: 44.38 kB / 0.5012 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007857/0.1243, allocations: 492.5 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.1243, allocations: 11.89 kB / 0.5017 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1243, allocations: 16 kB / 0.5017 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1243, allocations: 8 kB / 0.5017 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.125, allocations: 347.6 kB / 0.5021 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.1277, allocations: 1.838 MB / 0.5039 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.1284, allocations: 217.4 kB / 0.5041 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.1286, allocations: 124.8 kB / 0.5042 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1286, allocations: 0 / 0.5042 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1287, allocations: 34.56 kB / 0.5042 GB, free: 8.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.1287, allocations: 0 / 0.5042 GB, free: 8.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007198/0.1294, allocations: 373.4 kB / 0.5046 GB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1294, allocations: 55.41 kB / 0.5046 GB, free: 8.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.1299, allocations: 441.7 kB / 0.505 GB, free: 7.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.13, allocations: 37.7 kB / 0.5051 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.1302, allocations: 272.1 kB / 0.5053 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.1303, allocations: 107.1 kB / 0.5054 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1304, allocations: 94.06 kB / 0.5055 GB, free: 7.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1306, allocations: 350.8 kB / 0.5059 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.1308, allocations: 112.9 kB / 0.506 GB, free: 6.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.1312, allocations: 281.4 kB / 0.5062 GB, free: 6.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.1332, allocations: 0.733 MB / 0.507 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1332, allocations: 0 / 0.507 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008466/0.134, allocations: 0.505 MB / 0.5075 GB, free: 5.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.134, allocations: 4 kB / 0.5075 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.1341, allocations: 16.02 kB / 0.5075 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1341, allocations: 11.94 kB / 0.5075 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.1345, allocations: 111.8 kB / 0.5076 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.1345, allocations: 19.88 kB / 0.5076 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.1347, allocations: 63.55 kB / 0.5077 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.1348, allocations: 20 kB / 0.5077 GB, free: 4.879 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.0002742/0.1351, allocations: 203.5 kB / 0.5079 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.1351, allocations: 47.7 kB / 0.5079 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.1358, allocations: 337.7 kB / 0.5082 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1358, allocations: 7.938 kB / 0.5083 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1358, allocations: 3.938 kB / 0.5083 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1358, allocations: 3.984 kB / 0.5083 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.1362, allocations: 360.4 kB / 0.5086 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1362, allocations: 3.984 kB / 0.5086 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.1366, allocations: 75.95 kB / 0.5087 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1366, allocations: 0 / 0.5087 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1367, allocations: 15.98 kB / 0.5087 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1367, allocations: 7.938 kB / 0.5087 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1367, allocations: 0 / 0.5087 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.1375, allocations: 0.5197 MB / 0.5092 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.1376, allocations: 47.66 kB / 0.5093 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.1376, allocations: 11.98 kB / 0.5093 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1378, allocations: 15.92 kB / 0.5093 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.1378, allocations: 19.97 kB / 0.5093 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1378, allocations: 12 kB / 0.5093 GB, free: 3.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003246/0.1382, allocations: 299.1 kB / 0.5096 GB, free: 2.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1382, allocations: 0 / 0.5096 GB, free: 2.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1386, allocations: 75.84 kB / 0.5097 GB, free: 2.766 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.001118/0.1397, allocations: 1.076 MB / 0.5107 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.1402, allocations: 315.7 kB / 0.511 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1403, allocations: 0 / 0.511 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1405, allocations: 123.9 kB / 0.5111 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1408, allocations: 44.7 kB / 0.5112 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.197/0.3378, allocations: 3.993 MB / 0.5151 GB, free: 21.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.338, allocations: 245.5 kB / 0.5153 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.3382, allocations: 82.42 kB / 0.5154 GB, free: 21.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.3384, allocations: 162.1 kB / 0.5156 GB, free: 21.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3384, allocations: 0.5625 kB / 0.5156 GB, free: 21.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.3745, allocations: 7.5 MB / 0.5229 GB, free: 20.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.13, allocations: 10.08 kB / 0.5229 GB, free: 20.28 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.588085597380996] Failed to read output from testmodel.py, exit status != 0: 11.241605312097818 11.26337407 11.138019881 Calling exit ...