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.00115/0.00115, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001278/0.001278, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 18.57 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.03797/0.03797, allocations: 8.605 MB / 268.9 MB, free: 4.988 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 340.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.563e-05, allocations: 2.312 kB / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002027/0.002043, allocations: 2.211 MB / 343.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003201, allocations: 1.002 MB / 344.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.00335, allocations: 27.75 kB / 344.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.003579, allocations: 99.22 kB / 344.2 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.003662, allocations: 71.48 kB / 344.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.004336, allocations: 391 kB / 344.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.004683, allocations: 0.5404 MB / 345.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.004811, allocations: 65.22 kB / 345.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.004993, allocations: 267.4 kB / 345.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.005218, allocations: 211.4 kB / 345.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.005264, allocations: 36 kB / 345.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.005394, allocations: 107.9 kB / 345.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.005501, allocations: 159.5 kB / 346 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.837e-05/0.0056, allocations: 139.5 kB / 346.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.005957, allocations: 430.4 kB / 346.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00596, allocations: 0 / 346.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00596, allocations: 0 / 346.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.005968, allocations: 0 / 346.6 MB, free: 2.984 MB / 266.7 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.0008888/0.006857, allocations: 0.9219 MB / 347.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.006896, allocations: 8.031 kB / 347.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.007005, allocations: 96.56 kB / 347.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.007376, allocations: 389 kB / 348 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.007405, allocations: 33.38 kB / 348 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.007454, allocations: 48.33 kB / 348.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.007866, allocations: 468.5 kB / 348.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.007886, allocations: 8.125 kB / 348.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.007913, allocations: 16.38 kB / 348.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.007926, allocations: 19.94 kB / 348.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.008194, allocations: 235.4 kB / 348.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.009999, allocations: 2.238 MB / 351.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.01032, allocations: 192.7 kB / 351.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.01044, allocations: 117.3 kB / 351.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01046, allocations: 7.938 kB / 351.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.01067, allocations: 208.9 kB / 351.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.01067, allocations: 0 / 351.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005278/0.0112, allocations: 428.5 kB / 352 MB, free: 13.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.01125, allocations: 89.11 kB / 352.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.01157, allocations: 490.4 kB / 352.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.01159, allocations: 33.7 kB / 352.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.01176, allocations: 355 kB / 352.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.01183, allocations: 142.8 kB / 353.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01194, allocations: 123.8 kB / 353.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.01209, allocations: 0.543 MB / 353.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.01221, allocations: 98.81 kB / 353.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.01243, allocations: 373.5 kB / 354.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.01295, allocations: 0.6355 MB / 354.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01295, allocations: 0 / 354.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005527/0.0135, allocations: 0.5569 MB / 355.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.01354, allocations: 45.69 kB / 355.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01355, allocations: 4 kB / 355.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01356, allocations: 8 kB / 355.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.01385, allocations: 135.8 kB / 355.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.01386, allocations: 11.94 kB / 355.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.014, allocations: 71.5 kB / 355.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.01402, allocations: 24 kB / 355.7 MB, free: 9.242 MB / 282.7 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.0002118/0.01423, allocations: 273.3 kB / 356 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.01429, allocations: 63.67 kB / 356 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.01472, allocations: 407.6 kB / 356.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01472, allocations: 4 kB / 356.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01472, allocations: 0 / 356.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01473, allocations: 0 / 356.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.01499, allocations: 348.2 kB / 356.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.015, allocations: 4 kB / 356.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.01528, allocations: 87.88 kB / 356.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01528, allocations: 4 kB / 356.8 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.01531, allocations: 19.98 kB / 356.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01531, allocations: 0 / 356.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01532, allocations: 3.984 kB / 356.9 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.01584, allocations: 0.5508 MB / 357.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.01588, allocations: 55.59 kB / 357.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.01592, allocations: 8 kB / 357.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.016, allocations: 15.98 kB / 357.5 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.01605, allocations: 27.89 kB / 357.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.01607, allocations: 16 kB / 357.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.01626, allocations: 291 kB / 357.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01626, allocations: 0 / 357.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01653, allocations: 127.7 kB / 358 MB, free: 6.855 MB / 282.7 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.0001499/0.01668, allocations: 139.2 kB / 358.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.01711, allocations: 412.9 kB / 358.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01711, allocations: 0 / 358.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.01728, allocations: 216.5 kB / 358.7 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01752, allocations: 57.88 kB / 358.8 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.01853, allocations: 0.9848 MB / 359.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.589e-05/0.01862, allocations: 153.7 kB / 359.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.01876, allocations: 88.08 kB / 360 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.01883, allocations: 36.5 kB / 360 MB, free: 4.672 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01883, allocations: 0 / 360 MB, free: 4.672 MB / 282.7 MB Notification: Performance of Templates: time 0.006504/0.02533, allocations: 3.705 MB / 363.7 MB, free: 0.9961 MB / 282.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.981314809061587]