Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001371/0.001371, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001736/0.001736, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.469/1.469, 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.0657/0.0657, allocations: 11.34 MB / 324.5 MB, free: 8.031 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: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") [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.002075/0.002075, allocations: 71.89 kB / 452.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 56.07 MB / 0.4964 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003569/0.1161, allocations: 2.1 MB / 0.4984 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1172, allocations: 0.531 MB / 0.4989 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1174, allocations: 23.75 kB / 0.499 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1176, allocations: 63.33 kB / 0.499 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1177, allocations: 35.61 kB / 0.4991 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.1184, allocations: 283.5 kB / 0.4993 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007226/0.1191, allocations: 0.5782 MB / 0.4999 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1193, allocations: 73.12 kB / 0.5 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.1195, allocations: 183.4 kB / 0.5001 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1198, allocations: 187 kB / 0.5003 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.1199, allocations: 28 kB / 0.5003 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.1199, allocations: 32 kB / 0.5004 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1201, allocations: 143.5 kB / 0.5005 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1202, allocations: 151 kB / 0.5007 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.1207, allocations: 402.1 kB / 0.501 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.1207, allocations: 4 kB / 0.501 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1207, allocations: 4 kB / 0.501 GB, free: 12.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1207, allocations: 0 / 0.501 GB, free: 12.84 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.001262/0.122, allocations: 0.6904 MB / 0.5017 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.122, allocations: 12.03 kB / 0.5017 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.1221, allocations: 56.61 kB / 0.5018 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.1227, allocations: 332.7 kB / 0.5021 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/0.1228, allocations: 88.95 kB / 0.5022 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.1229, allocations: 36.38 kB / 0.5022 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.1236, allocations: 475.9 kB / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.1236, allocations: 15.89 kB / 0.5027 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1237, allocations: 16 kB / 0.5027 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1237, allocations: 8 kB / 0.5027 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.1243, allocations: 322.3 kB / 0.503 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.1272, allocations: 1.779 MB / 0.5048 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.1277, allocations: 178.4 kB / 0.5049 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.1279, allocations: 120.8 kB / 0.505 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1279, allocations: 0 / 0.505 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.128, allocations: 38.56 kB / 0.5051 GB, free: 8.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.128, allocations: 3.938 kB / 0.5051 GB, free: 8.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.000704/0.1287, allocations: 345.5 kB / 0.5054 GB, free: 8.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1287, allocations: 51.41 kB / 0.5055 GB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.1291, allocations: 385.4 kB / 0.5058 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1292, allocations: 33.64 kB / 0.5059 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1294, allocations: 272 kB / 0.5061 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.1295, allocations: 91.27 kB / 0.5062 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1296, allocations: 94.02 kB / 0.5063 GB, free: 7.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1298, allocations: 350.7 kB / 0.5066 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.13, allocations: 108.7 kB / 0.5067 GB, free: 6.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.1304, allocations: 258.1 kB / 0.507 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.132, allocations: 0.6772 MB / 0.5076 GB, free: 5.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.132, allocations: 7.938 kB / 0.5077 GB, free: 5.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007666/0.1328, allocations: 473.2 kB / 0.5081 GB, free: 5.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1328, allocations: 8 kB / 0.5081 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1328, allocations: 4 kB / 0.5081 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.1329, allocations: 11.98 kB / 0.5081 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.1333, allocations: 103.8 kB / 0.5082 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.1333, allocations: 11.94 kB / 0.5082 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1335, allocations: 48.12 kB / 0.5083 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1335, allocations: 20 kB / 0.5083 GB, free: 5.008 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 (54): * Single equations (assignments): 54 * 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.0002762/0.1338, allocations: 206.3 kB / 0.5085 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.1339, allocations: 35.77 kB / 0.5085 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.1345, allocations: 306.5 kB / 0.5088 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1345, allocations: 4 kB / 0.5088 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1345, allocations: 0 / 0.5088 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1345, allocations: 3.984 kB / 0.5088 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.1349, allocations: 301.1 kB / 0.5091 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1349, allocations: 7.922 kB / 0.5091 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.1353, allocations: 67.89 kB / 0.5092 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1353, allocations: 4 kB / 0.5092 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1354, allocations: 8 kB / 0.5092 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1354, allocations: 0 / 0.5092 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1354, allocations: 0 / 0.5092 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.1361, allocations: 0.4907 MB / 0.5097 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.1362, allocations: 39.7 kB / 0.5097 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.1362, allocations: 12 kB / 0.5097 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1364, allocations: 11.98 kB / 0.5097 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.1364, allocations: 19.97 kB / 0.5098 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1364, allocations: 7.984 kB / 0.5098 GB, free: 3.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.1367, allocations: 255.1 kB / 0.51 GB, free: 3.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1367, allocations: 0 / 0.51 GB, free: 3.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000369/0.1371, allocations: 79.73 kB / 0.5101 GB, free: 3.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001283/0.1372, allocations: 104.9 kB / 0.5102 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.1378, allocations: 300.2 kB / 0.5105 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1378, allocations: 0 / 0.5105 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.138, allocations: 119.8 kB / 0.5106 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1383, allocations: 37.42 kB / 0.5106 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1398, allocations: 0.8811 MB / 0.5115 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.14, allocations: 245.1 kB / 0.5117 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.1401, allocations: 31.44 kB / 0.5118 GB, free: 1.352 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1401, allocations: 0 / 0.5118 GB, free: 1.352 MB / 382.1 MB Notification: Performance of Templates: time 0.2022/0.3423, allocations: 4.577 MB / 0.5162 GB, free: 21.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.486064442899078] Failed to read output from testmodel.py, exit status != 0: 0.35078608617186546 0.362961359 0.23942900699999994 Calling exit ...