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.000846/0.000846, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.0009256/0.0009256, allocations: 173 kB / 23.02 MB, free: 1.543 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 0.9744/0.9744, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.05539/0.05539, allocations: 8.611 MB / 268.6 MB, free: 4.906 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.283e-06/1.283e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.392e-05, allocations: 4.984 kB / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002306/0.00233, allocations: 2.213 MB / 343.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.003933, allocations: 1.013 MB / 344.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.004154, allocations: 15.81 kB / 344.1 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.004907, allocations: 95.22 kB / 344.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.005054, allocations: 83.42 kB / 344.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.005976, allocations: 383.1 kB / 344.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.00645, allocations: 0.5404 MB / 345.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.006597, allocations: 69.22 kB / 345.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.006829, allocations: 263.4 kB / 345.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.007079, allocations: 215.4 kB / 345.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.007135, allocations: 36 kB / 345.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.007273, allocations: 103.9 kB / 345.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.007386, allocations: 163.5 kB / 346 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.0075, allocations: 139.5 kB / 346.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.007898, allocations: 418.4 kB / 346.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.007902, allocations: 0 / 346.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007903, allocations: 0 / 346.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.007911, allocations: 4 kB / 346.6 MB, free: 2.641 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.0009387/0.00885, allocations: 0.9258 MB / 347.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.008887, allocations: 8.031 kB / 347.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.009011, allocations: 96.56 kB / 347.6 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.009437, allocations: 392.9 kB / 348 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.00947, allocations: 33.38 kB / 348 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.009535, allocations: 48.33 kB / 348.1 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.01004, allocations: 464.5 kB / 348.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.01006, allocations: 8.125 kB / 348.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.01009, allocations: 20.38 kB / 348.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.01011, allocations: 15.94 kB / 348.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.01044, allocations: 231.4 kB / 348.8 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.01265, allocations: 2.238 MB / 351 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.01304, allocations: 207 kB / 351.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.01319, allocations: 109.3 kB / 351.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.01322, allocations: 7.984 kB / 351.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.01349, allocations: 213 kB / 351.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/0.01349, allocations: 0 / 351.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006522/0.01414, allocations: 428.5 kB / 352 MB, free: 12.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.01419, allocations: 89.09 kB / 352.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.01459, allocations: 490.4 kB / 352.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.01461, allocations: 29.7 kB / 352.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.01481, allocations: 355 kB / 352.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.01492, allocations: 150.8 kB / 353.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.01505, allocations: 115.8 kB / 353.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.01524, allocations: 0.5508 MB / 353.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.01539, allocations: 98.81 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.01566, allocations: 359.8 kB / 354.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.01631, allocations: 0.6393 MB / 354.8 MB, free: 9.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.01632, allocations: 4 kB / 354.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007036/0.01702, allocations: 0.5522 MB / 355.4 MB, free: 9.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.01706, allocations: 42.47 kB / 355.4 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01707, allocations: 4 kB / 355.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.0171, allocations: 16 kB / 355.4 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.01748, allocations: 127.8 kB / 355.6 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.01749, allocations: 19.92 kB / 355.6 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.01768, allocations: 71.5 kB / 355.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.01771, allocations: 28 kB / 355.7 MB, free: 8.887 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.0002527/0.01796, allocations: 273.2 kB / 356 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.01803, allocations: 59.67 kB / 356 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.01856, allocations: 403.6 kB / 356.4 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.01857, allocations: 4 kB / 356.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01857, allocations: 0 / 356.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.01858, allocations: 3.984 kB / 356.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.01891, allocations: 352.2 kB / 356.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01892, allocations: 0 / 356.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.01927, allocations: 83.88 kB / 356.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01927, allocations: 0 / 356.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.01931, allocations: 19.98 kB / 356.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01931, allocations: 4 kB / 356.9 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01932, allocations: 0 / 356.9 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.01999, allocations: 0.5587 MB / 357.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.02004, allocations: 47.61 kB / 357.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.02009, allocations: 15.98 kB / 357.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.0202, allocations: 15.98 kB / 357.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.02027, allocations: 27.89 kB / 357.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.0203, allocations: 16 kB / 357.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.02053, allocations: 291 kB / 357.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02053, allocations: 4 kB / 357.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.02096, allocations: 123.7 kB / 358 MB, free: 6.504 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.0002189/0.02118, allocations: 143.1 kB / 358.1 MB, free: 6.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.02171, allocations: 413.8 kB / 358.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02171, allocations: 4 kB / 358.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.02191, allocations: 216.5 kB / 358.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.02222, allocations: 57.41 kB / 358.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.02347, allocations: 0.9801 MB / 359.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.02358, allocations: 149.7 kB / 359.9 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.02378, allocations: 88.09 kB / 360 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.02385, allocations: 36.5 kB / 360 MB, free: 4.324 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02386, allocations: 0 / 360 MB, free: 4.324 MB / 282.7 MB Notification: Performance of Templates: time 0.007843/0.0317, allocations: 3.702 MB / 363.7 MB, free: 0.6523 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: 3.0014557568356395]