Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001584/0.001584, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001487/0.001487, allocations: 222.9 kB / 23 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.06638/0.06638, allocations: 11.33 MB / 324.5 MB, free: 8.055 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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.002057/0.002057, allocations: 59.91 kB / 452.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1131, allocations: 56.08 MB / 0.4964 GB, free: 1.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003806/0.1169, allocations: 2.111 MB / 0.4984 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.1179, allocations: 447.9 kB / 0.4989 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.118, allocations: 15.81 kB / 0.4989 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1183, allocations: 67.33 kB / 0.4989 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1184, allocations: 39.61 kB / 0.499 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.119, allocations: 227.6 kB / 0.4992 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.1197, allocations: 0.5509 MB / 0.4997 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1199, allocations: 69.19 kB / 0.4998 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1201, allocations: 171.3 kB / 0.5 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1203, allocations: 171.1 kB / 0.5001 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.1204, allocations: 28 kB / 0.5002 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.1204, allocations: 32 kB / 0.5002 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1206, allocations: 127.6 kB / 0.5003 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1207, allocations: 151 kB / 0.5005 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.1212, allocations: 390.1 kB / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1212, allocations: 0 / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1212, allocations: 0 / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.1212, allocations: 0 / 0.5008 GB, free: 13.09 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.001172/0.1223, allocations: 0.6826 MB / 0.5015 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1224, allocations: 8.031 kB / 0.5015 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/0.1225, allocations: 52.61 kB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.1231, allocations: 332.7 kB / 0.5019 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.1231, allocations: 25.38 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.1232, allocations: 44.31 kB / 0.5019 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.1239, allocations: 463.9 kB / 0.5024 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.1239, allocations: 12.08 kB / 0.5024 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.124, allocations: 23.94 kB / 0.5024 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.124, allocations: 8 kB / 0.5024 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.1246, allocations: 310.3 kB / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.127, allocations: 1.713 MB / 0.5044 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.1274, allocations: 170.5 kB / 0.5046 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1277, allocations: 108.8 kB / 0.5047 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1277, allocations: 4 kB / 0.5047 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1277, allocations: 30.56 kB / 0.5047 GB, free: 8.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.1277, allocations: 0 / 0.5047 GB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006649/0.1284, allocations: 321.6 kB / 0.505 GB, free: 8.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1284, allocations: 59.33 kB / 0.5051 GB, free: 8.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.1288, allocations: 381.4 kB / 0.5054 GB, free: 8.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1289, allocations: 29.7 kB / 0.5054 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1291, allocations: 280 kB / 0.5057 GB, free: 7.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.1292, allocations: 83.33 kB / 0.5058 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1293, allocations: 85.42 kB / 0.5059 GB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1295, allocations: 350.8 kB / 0.5062 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1297, allocations: 96.38 kB / 0.5063 GB, free: 7.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.13, allocations: 242.9 kB / 0.5065 GB, free: 6.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.1315, allocations: 0.6387 MB / 0.5072 GB, free: 6.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1315, allocations: 4 kB / 0.5072 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000744/0.1323, allocations: 461 kB / 0.5076 GB, free: 5.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1323, allocations: 4 kB / 0.5076 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1323, allocations: 8 kB / 0.5076 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1323, allocations: 8 kB / 0.5076 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.1327, allocations: 87.89 kB / 0.5077 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.1327, allocations: 15.92 kB / 0.5077 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1329, allocations: 51.66 kB / 0.5078 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1329, allocations: 16.38 kB / 0.5078 GB, free: 5.582 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 (51): * Single equations (assignments): 51 * 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.0002873/0.1332, allocations: 207.5 kB / 0.508 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.1333, allocations: 35.77 kB / 0.508 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.1338, allocations: 289.2 kB / 0.5083 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1338, allocations: 0 / 0.5083 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1339, allocations: 0 / 0.5083 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.1339, allocations: 7.875 kB / 0.5083 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.1343, allocations: 293 kB / 0.5086 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1343, allocations: 7.984 kB / 0.5086 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1346, allocations: 59.91 kB / 0.5086 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1346, allocations: 0 / 0.5086 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1346, allocations: 15.98 kB / 0.5087 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1346, allocations: 4 kB / 0.5087 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1346, allocations: 4 kB / 0.5087 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.1354, allocations: 478.7 kB / 0.5091 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1354, allocations: 31.7 kB / 0.5091 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1355, allocations: 11.98 kB / 0.5092 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1356, allocations: 15.98 kB / 0.5092 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.1357, allocations: 11.97 kB / 0.5092 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1357, allocations: 8 kB / 0.5092 GB, free: 4.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.136, allocations: 251.2 kB / 0.5094 GB, free: 3.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.136, allocations: 0 / 0.5094 GB, free: 3.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.1364, allocations: 75.72 kB / 0.5095 GB, free: 3.758 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001264/0.1365, allocations: 115.2 kB / 0.5096 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.137, allocations: 276.4 kB / 0.5099 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.137, allocations: 0 / 0.5099 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.1372, allocations: 103.9 kB / 0.51 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1376, allocations: 33.67 kB / 0.51 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1389, allocations: 0.8454 MB / 0.5108 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1392, allocations: 241.8 kB / 0.5111 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.1393, allocations: 27.44 kB / 0.5111 GB, free: 2.062 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1393, allocations: 4 kB / 0.5111 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Templates: time 0.1993/0.3386, allocations: 4.455 MB / 0.5154 GB, free: 22.73 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.416551331989467] Failed to read output from testmodel.py, exit status != 0: 0.3467274443246424 0.35835518200000005 0.23423713100000002 Calling exit ...