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.001292/0.001292, 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.001411/0.001411, allocations: 215.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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06625/0.06625, allocations: 11.34 MB / 324.5 MB, free: 8.137 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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.002119/0.002119, allocations: 67.91 kB / 452.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 56.08 MB / 0.4964 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.004341/0.1143, allocations: 2.147 MB / 0.4985 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1156, allocations: 0.5778 MB / 0.499 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1158, allocations: 15.81 kB / 0.4991 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1161, allocations: 71.25 kB / 0.4991 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1162, allocations: 39.61 kB / 0.4992 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.1171, allocations: 303.4 kB / 0.4995 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.1179, allocations: 0.6101 MB / 0.5 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1181, allocations: 72.14 kB / 0.5001 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.1184, allocations: 195.3 kB / 0.5003 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1187, allocations: 187 kB / 0.5005 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.1187, allocations: 32 kB / 0.5005 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.1188, allocations: 32 kB / 0.5005 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.119, allocations: 143.5 kB / 0.5007 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.1192, allocations: 163 kB / 0.5008 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.1197, allocations: 414 kB / 0.5012 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1197, allocations: 4 kB / 0.5012 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1197, allocations: 0 / 0.5012 GB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1197, allocations: 0 / 0.5012 GB, free: 12.67 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.001475/0.1212, allocations: 0.6998 MB / 0.5019 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.1213, allocations: 12.03 kB / 0.5019 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1214, allocations: 60.56 kB / 0.502 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006899/0.1221, allocations: 332.7 kB / 0.5023 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.1221, allocations: 37.31 kB / 0.5023 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.1222, allocations: 40.38 kB / 0.5024 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.1231, allocations: 492.6 kB / 0.5028 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.1231, allocations: 8.078 kB / 0.5029 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.1232, allocations: 23.94 kB / 0.5029 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.1232, allocations: 8 kB / 0.5029 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/0.1238, allocations: 339.7 kB / 0.5032 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.1266, allocations: 1.765 MB / 0.5049 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.1274, allocations: 218.4 kB / 0.5051 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.1276, allocations: 112.8 kB / 0.5053 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1277, allocations: 4 kB / 0.5053 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.1277, allocations: 50.55 kB / 0.5053 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/0.1277, allocations: 0 / 0.5053 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.000823/0.1285, allocations: 361.5 kB / 0.5056 GB, free: 7.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1286, allocations: 55.41 kB / 0.5057 GB, free: 7.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.1291, allocations: 393.4 kB / 0.5061 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.1291, allocations: 33.69 kB / 0.5061 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1294, allocations: 280.2 kB / 0.5064 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.774e-05/0.1295, allocations: 103.2 kB / 0.5065 GB, free: 7.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1296, allocations: 98.06 kB / 0.5066 GB, free: 6.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1298, allocations: 350.8 kB / 0.5069 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.13, allocations: 112.9 kB / 0.507 GB, free: 6.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.1304, allocations: 273.5 kB / 0.5073 GB, free: 6.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.1324, allocations: 0.7447 MB / 0.508 GB, free: 5.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1324, allocations: 0 / 0.508 GB, free: 5.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008325/0.1333, allocations: 0.4926 MB / 0.5085 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1333, allocations: 8 kB / 0.5085 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1333, allocations: 4 kB / 0.5085 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1333, allocations: 8.719 kB / 0.5085 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.1337, allocations: 119.8 kB / 0.5086 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.1338, allocations: 15.92 kB / 0.5086 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.134, allocations: 59.55 kB / 0.5087 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.134, allocations: 20 kB / 0.5087 GB, free: 4.621 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.0002788/0.1343, allocations: 210.8 kB / 0.5089 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.1343, allocations: 35.77 kB / 0.5089 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.135, allocations: 337.4 kB / 0.5093 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.135, allocations: 8 kB / 0.5093 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.135, allocations: 3.938 kB / 0.5093 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.135, allocations: 0 / 0.5093 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.1355, allocations: 313 kB / 0.5096 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1355, allocations: 0 / 0.5096 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.1359, allocations: 83.88 kB / 0.5096 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1359, allocations: 0 / 0.5096 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.1359, allocations: 8 kB / 0.5097 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1359, allocations: 0 / 0.5097 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1359, allocations: 4 kB / 0.5097 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.1367, allocations: 0.5275 MB / 0.5102 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.1368, allocations: 43.64 kB / 0.5102 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.1368, allocations: 8 kB / 0.5102 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.137, allocations: 11.98 kB / 0.5102 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.1371, allocations: 23.95 kB / 0.5103 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1371, allocations: 11.94 kB / 0.5103 GB, free: 2.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.1373, allocations: 259.1 kB / 0.5105 GB, free: 2.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1373, allocations: 0 / 0.5105 GB, free: 2.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.1377, allocations: 79.73 kB / 0.5106 GB, free: 2.621 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.0001192/0.1379, allocations: 115.2 kB / 0.5107 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.1384, allocations: 309.1 kB / 0.511 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1384, allocations: 384 / 0.511 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.1387, allocations: 131.9 kB / 0.5111 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.139, allocations: 41.67 kB / 0.5112 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1405, allocations: 0.9311 MB / 0.5121 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1407, allocations: 253.6 kB / 0.5123 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1409, allocations: 39.42 kB / 0.5124 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1409, allocations: 0 / 0.5124 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Templates: time 0.2056/0.3464, allocations: 4.833 MB / 0.5171 GB, free: 22.27 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.445272720884532] Failed to read output from testmodel.py, exit status != 0: 0.3547933120280504 0.36771539400000003 0.244896099 Calling exit ...