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.001427/0.001427, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001717/0.001717, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.793 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.06755/0.06755, allocations: 11.33 MB / 323.8 MB, free: 8.129 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.002328/0.002328, allocations: 67.91 kB / 451.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1352, allocations: 56.07 MB / 0.4956 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.00436/0.1395, allocations: 2.111 MB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1409, allocations: 0.5232 MB / 0.4982 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.1412, allocations: 27.75 kB / 0.4982 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1415, allocations: 55.39 kB / 0.4983 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1417, allocations: 43.59 kB / 0.4983 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.1427, allocations: 275.5 kB / 0.4986 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.1436, allocations: 0.5782 MB / 0.4992 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.1439, allocations: 77.11 kB / 0.4992 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.1442, allocations: 191.3 kB / 0.4994 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.1446, allocations: 187.1 kB / 0.4996 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1447, allocations: 28 kB / 0.4996 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.1448, allocations: 32 kB / 0.4996 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.145, allocations: 131.6 kB / 0.4998 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1452, allocations: 155 kB / 0.4999 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.1457, allocations: 406 kB / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1458, allocations: 0 / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1458, allocations: 0 / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.1458, allocations: 0 / 0.5003 GB, free: 12.83 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.001487/0.1473, allocations: 0.6961 MB / 0.501 GB, free: 12.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1473, allocations: 8.031 kB / 0.501 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1474, allocations: 56.61 kB / 0.5011 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.1481, allocations: 336.6 kB / 0.5014 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.1482, allocations: 80.97 kB / 0.5014 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.1483, allocations: 40.38 kB / 0.5015 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/0.1492, allocations: 479.9 kB / 0.5019 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.1492, allocations: 7.891 kB / 0.502 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.1492, allocations: 16 kB / 0.502 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1492, allocations: 12 kB / 0.502 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.1499, allocations: 322.3 kB / 0.5023 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.153, allocations: 1.787 MB / 0.504 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.1534, allocations: 170.5 kB / 0.5042 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.1536, allocations: 118.6 kB / 0.5043 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1537, allocations: 4 kB / 0.5043 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1537, allocations: 42.5 kB / 0.5044 GB, free: 8.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.1537, allocations: 0 / 0.5044 GB, free: 8.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.000765/0.1545, allocations: 345.5 kB / 0.5047 GB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1545, allocations: 55.41 kB / 0.5047 GB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.155, allocations: 385.4 kB / 0.5051 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.155, allocations: 29.7 kB / 0.5051 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1552, allocations: 272 kB / 0.5054 GB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.1553, allocations: 87.28 kB / 0.5055 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1555, allocations: 82.02 kB / 0.5056 GB, free: 7.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1556, allocations: 358.8 kB / 0.5059 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1559, allocations: 104.8 kB / 0.506 GB, free: 6.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.1563, allocations: 264 kB / 0.5062 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.158, allocations: 0.6694 MB / 0.5069 GB, free: 5.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.158, allocations: 7.938 kB / 0.5069 GB, free: 5.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00091/0.159, allocations: 481.5 kB / 0.5074 GB, free: 5.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.159, allocations: 8 kB / 0.5074 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.159, allocations: 4 kB / 0.5074 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.159, allocations: 8 kB / 0.5074 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.1595, allocations: 107.8 kB / 0.5075 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.1595, allocations: 11.94 kB / 0.5075 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1597, allocations: 43.72 kB / 0.5075 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.1598, allocations: 20 kB / 0.5076 GB, free: 5.012 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.0003581/0.1601, allocations: 218.9 kB / 0.5078 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.1602, allocations: 39.7 kB / 0.5078 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/0.1609, allocations: 300.9 kB / 0.5081 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1609, allocations: 4 kB / 0.5081 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1609, allocations: 0 / 0.5081 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1609, allocations: 0 / 0.5081 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.1614, allocations: 305 kB / 0.5084 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1614, allocations: 0 / 0.5084 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.1618, allocations: 71.89 kB / 0.5085 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1618, allocations: 0 / 0.5085 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.1618, allocations: 11.98 kB / 0.5085 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1619, allocations: 0 / 0.5085 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1619, allocations: 4 kB / 0.5085 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.1627, allocations: 494.3 kB / 0.5089 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.1628, allocations: 43.69 kB / 0.509 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.1628, allocations: 11.98 kB / 0.509 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.163, allocations: 11.98 kB / 0.509 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.163, allocations: 19.97 kB / 0.509 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1631, allocations: 11.94 kB / 0.509 GB, free: 3.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.1633, allocations: 251.2 kB / 0.5093 GB, free: 3.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1633, allocations: 4 kB / 0.5093 GB, free: 3.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.1638, allocations: 75.73 kB / 0.5094 GB, free: 3.121 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.0001567/0.164, allocations: 111.2 kB / 0.5095 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.1646, allocations: 293.1 kB / 0.5097 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1646, allocations: 112 / 0.5097 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.1648, allocations: 123.6 kB / 0.5099 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1652, allocations: 44.23 kB / 0.5099 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1667, allocations: 0.8318 MB / 0.5107 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.167, allocations: 241.1 kB / 0.5109 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.1672, allocations: 79.16 kB / 0.511 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.1673, allocations: 27.44 kB / 0.511 GB, free: 1.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1673, allocations: 0 / 0.511 GB, free: 1.32 MB / 382.1 MB Notification: Performance of Templates: time 0.236/0.4032, allocations: 2.49 MB / 0.5135 GB, free: 22.9 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: 5.153993414714932] Failed to read output from testmodel.py, exit status != 0: 0.41179954446852207 0.43138189899999996 0.28129608100000003 Calling exit ...