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.001449/0.001449, allocations: 97.88 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.001556/0.001556, allocations: 214.5 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.06181/0.06181, allocations: 11.33 MB / 324.6 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_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.001906/0.001906, allocations: 75.83 kB / 451.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1057, allocations: 56.07 MB / 0.4959 GB, free: 2.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003419/0.1091, allocations: 2.142 MB / 0.498 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1103, allocations: 0.5739 MB / 0.4986 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1105, allocations: 27.75 kB / 0.4986 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1107, allocations: 63.33 kB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1108, allocations: 39.55 kB / 0.4987 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007999/0.1116, allocations: 311.4 kB / 0.499 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.1124, allocations: 0.618 MB / 0.4996 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1126, allocations: 73.47 kB / 0.4997 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1128, allocations: 199.2 kB / 0.4999 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1131, allocations: 199 kB / 0.5 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.1132, allocations: 35.94 kB / 0.5001 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.318e-05/0.1132, allocations: 35.94 kB / 0.5001 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.1134, allocations: 143.5 kB / 0.5002 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1136, allocations: 155 kB / 0.5004 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.114, allocations: 418 kB / 0.5008 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.114, allocations: 0 / 0.5008 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.114, allocations: 0 / 0.5008 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.114, allocations: 0 / 0.5008 GB, free: 13.12 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.001245/0.1153, allocations: 0.702 MB / 0.5015 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1153, allocations: 8.031 kB / 0.5015 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.582e-05/0.1153, allocations: 13.19 kB / 0.5015 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.197e-05/0.1154, allocations: 78.72 kB / 0.5016 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.1155, allocations: 60.56 kB / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.1161, allocations: 340.6 kB / 0.502 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.1161, allocations: 29.38 kB / 0.502 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.1162, allocations: 48.38 kB / 0.502 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.117, allocations: 492.3 kB / 0.5025 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.117, allocations: 7.953 kB / 0.5025 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.1171, allocations: 19.98 kB / 0.5025 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1171, allocations: 12 kB / 0.5025 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.1177, allocations: 339.7 kB / 0.5029 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1203, allocations: 1.842 MB / 0.5047 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.121, allocations: 218.5 kB / 0.5049 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1212, allocations: 116.8 kB / 0.505 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1212, allocations: 4 kB / 0.505 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1213, allocations: 38.5 kB / 0.505 GB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.1213, allocations: 4 kB / 0.505 GB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007008/0.122, allocations: 365.5 kB / 0.5054 GB, free: 8.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.122, allocations: 55.41 kB / 0.5054 GB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.1225, allocations: 433.8 kB / 0.5058 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1225, allocations: 29.7 kB / 0.5059 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1227, allocations: 276.1 kB / 0.5061 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.1228, allocations: 107.1 kB / 0.5062 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1229, allocations: 94.08 kB / 0.5063 GB, free: 7.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1231, allocations: 350.8 kB / 0.5067 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1233, allocations: 116.9 kB / 0.5068 GB, free: 6.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1237, allocations: 277.5 kB / 0.507 GB, free: 6.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.1256, allocations: 0.7369 MB / 0.5078 GB, free: 5.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1256, allocations: 4 kB / 0.5078 GB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007989/0.1264, allocations: 0.4966 MB / 0.5082 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1265, allocations: 8 kB / 0.5083 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1265, allocations: 7.938 kB / 0.5083 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1265, allocations: 11.94 kB / 0.5083 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.1269, allocations: 112.4 kB / 0.5084 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.1269, allocations: 19.91 kB / 0.5084 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1271, allocations: 71.48 kB / 0.5085 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1272, allocations: 20 kB / 0.5085 GB, free: 4.82 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.0002658/0.1274, allocations: 199.6 kB / 0.5087 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.1275, allocations: 43.72 kB / 0.5087 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006472/0.1281, allocations: 349.5 kB / 0.5091 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1281, allocations: 0 / 0.5091 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1282, allocations: 4 kB / 0.5091 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1282, allocations: 4 kB / 0.5091 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.1286, allocations: 360.4 kB / 0.5094 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1286, allocations: 0 / 0.5094 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.1291, allocations: 79.94 kB / 0.5095 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1291, allocations: 4 kB / 0.5095 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.1291, allocations: 15.94 kB / 0.5095 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1291, allocations: 3.938 kB / 0.5095 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1291, allocations: 0 / 0.5095 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.1299, allocations: 0.5275 MB / 0.51 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1299, allocations: 43.66 kB / 0.5101 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.13, allocations: 11.94 kB / 0.5101 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1301, allocations: 15.98 kB / 0.5101 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.1302, allocations: 19.95 kB / 0.5101 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1302, allocations: 15.94 kB / 0.5101 GB, free: 3.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.1305, allocations: 287.1 kB / 0.5104 GB, free: 2.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1305, allocations: 0 / 0.5104 GB, free: 2.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1309, allocations: 87.77 kB / 0.5105 GB, free: 2.703 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.001138/0.132, allocations: 1.073 MB / 0.5115 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.1326, allocations: 316.9 kB / 0.5118 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1326, allocations: 4 kB / 0.5118 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.1328, allocations: 123.9 kB / 0.5119 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1332, allocations: 48.77 kB / 0.512 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.191/0.3242, allocations: 3.979 MB / 0.5159 GB, free: 21.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3244, allocations: 248.1 kB / 0.5161 GB, free: 21.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.3247, allocations: 84.44 kB / 0.5162 GB, free: 21.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.3249, allocations: 162.6 kB / 0.5164 GB, free: 21.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3249, allocations: 0 / 0.5164 GB, free: 21.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3565, allocations: 7.27 MB / 0.5235 GB, free: 20.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.72, allocations: 7.984 kB / 0.5235 GB, free: 20.7 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.284567349008285] Failed to read output from testmodel.py, exit status != 0: 11.885248902020976 11.907119622 11.789362023 Calling exit ...