Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001261/0.001261, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001421/0.001421, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.06399/0.06399, allocations: 11.35 MB / 324.5 MB, free: 8.273 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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.002202/0.002202, allocations: 71.89 kB / 452.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1092, allocations: 56.07 MB / 0.4965 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.003848/0.113, allocations: 2.27 MB / 0.4987 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1151, allocations: 1.06 MB / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.1154, allocations: 19.81 kB / 0.4997 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1157, allocations: 91.27 kB / 0.4998 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1159, allocations: 75.5 kB / 0.4999 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1169, allocations: 363.2 kB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000942/0.1179, allocations: 0.6613 MB / 0.5009 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.118, allocations: 73.19 kB / 0.5009 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.1184, allocations: 223.3 kB / 0.5012 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.1188, allocations: 251 kB / 0.5014 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.296e-05/0.1189, allocations: 36 kB / 0.5014 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.1191, allocations: 119.8 kB / 0.5015 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1193, allocations: 167.5 kB / 0.5017 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.1196, allocations: 226.5 kB / 0.5019 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.1203, allocations: 0.5288 MB / 0.5024 GB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1203, allocations: 0 / 0.5024 GB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1203, allocations: 0 / 0.5024 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.1203, allocations: 0 / 0.5024 GB, free: 11.72 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001567/0.1219, allocations: 0.8126 MB / 0.5032 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1219, allocations: 8.031 kB / 0.5032 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.1221, allocations: 68.52 kB / 0.5033 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.1228, allocations: 390.8 kB / 0.5037 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.1228, allocations: 33.38 kB / 0.5037 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.1229, allocations: 48.38 kB / 0.5038 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009243/0.1238, allocations: 0.5549 MB / 0.5043 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.1238, allocations: 7.953 kB / 0.5043 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.1239, allocations: 20 kB / 0.5043 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1239, allocations: 12 kB / 0.5043 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007602/0.1247, allocations: 411.6 kB / 0.5047 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.128, allocations: 2.13 MB / 0.5068 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.1286, allocations: 250.4 kB / 0.507 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1288, allocations: 164.8 kB / 0.5072 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1289, allocations: 11.94 kB / 0.5072 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.1293, allocations: 269.1 kB / 0.5075 GB, free: 6.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/0.1293, allocations: 3.938 kB / 0.5075 GB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.001073/0.1304, allocations: 0.579 MB / 0.508 GB, free: 5.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1304, allocations: 89.05 kB / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.131, allocations: 0.5096 MB / 0.5086 GB, free: 5.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.1311, allocations: 33.7 kB / 0.5087 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.1313, allocations: 300.4 kB / 0.5089 GB, free: 4.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.1314, allocations: 142.8 kB / 0.5091 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1316, allocations: 114.1 kB / 0.5092 GB, free: 4.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1318, allocations: 366.8 kB / 0.5095 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.1321, allocations: 169 kB / 0.5097 GB, free: 3.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.1325, allocations: 361.6 kB / 0.51 GB, free: 3.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.1348, allocations: 1.094 MB / 0.5111 GB, free: 2.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1348, allocations: 0 / 0.5111 GB, free: 2.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001215/0.136, allocations: 0.7576 MB / 0.5119 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.1361, allocations: 40.34 kB / 0.5119 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1361, allocations: 8 kB / 0.5119 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.1361, allocations: 8 kB / 0.5119 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1366, allocations: 139.7 kB / 0.512 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.1366, allocations: 12.47 kB / 0.5121 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.1369, allocations: 79.5 kB / 0.5121 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.137, allocations: 27.98 kB / 0.5122 GB, free: 1.277 MB / 382.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.000388/0.1373, allocations: 283.7 kB / 0.5124 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.1374, allocations: 51.67 kB / 0.5125 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.1384, allocations: 0.53 MB / 0.513 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.1384, allocations: 15.92 kB / 0.513 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1384, allocations: 0 / 0.513 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1384, allocations: 0 / 0.513 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1911/0.3295, allocations: 458.4 kB / 0.5134 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3295, allocations: 0 / 0.5134 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.33, allocations: 87.62 kB / 0.5135 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.33, allocations: 1.25 kB / 0.5135 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.3301, allocations: 17.2 kB / 0.5135 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3301, allocations: 3.938 kB / 0.5135 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3301, allocations: 1.406 kB / 0.5135 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.3311, allocations: 0.7189 MB / 0.5143 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.3312, allocations: 54.64 kB / 0.5143 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.3312, allocations: 17.17 kB / 0.5143 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.3314, allocations: 12.27 kB / 0.5143 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.3315, allocations: 24.2 kB / 0.5144 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3315, allocations: 22.3 kB / 0.5144 GB, free: 23.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.3318, allocations: 347.2 kB / 0.5147 GB, free: 23.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3318, allocations: 0.9688 kB / 0.5147 GB, free: 23.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.3322, allocations: 114.8 kB / 0.5148 GB, free: 23.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0001722/0.3324, allocations: 150.1 kB / 0.515 GB, free: 23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.3331, allocations: 0.5108 MB / 0.5155 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3331, allocations: 0.5312 kB / 0.5155 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3333, allocations: 246.2 kB / 0.5157 GB, free: 22.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3336, allocations: 51.61 kB / 0.5157 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3349, allocations: 1.188 MB / 0.5169 GB, free: 22.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3352, allocations: 0.8939 MB / 0.5178 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3353, allocations: 46.53 kB / 0.5178 GB, free: 21.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3353, allocations: 0 / 0.5178 GB, free: 21.62 MB / 382.1 MB Notification: Performance of Templates: time 0.009379/0.3447, allocations: 6.188 MB / 0.5239 GB, free: 21.18 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.756135303992778] Failed to read output from testmodel.py, exit status != 0: 0.3534734910354018 0.36425036400000005 0.24147986000000002 Calling exit ...