Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_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.0007008/0.0007008, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009218/0.001623, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006863/0.0006863, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008738/0.00156, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.956/0.956, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09774/1.054, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04912/0.04912, allocations: 9.784 MB / 253.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0184/0.06752, allocations: 3.483 MB / 257.2 MB, free: 2.113 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.484e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003109/0.003124, allocations: 2.213 MB / 260.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004131, allocations: 0.5539 MB / 261.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.004287, allocations: 19.81 kB / 261.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.004459, allocations: 71.27 kB / 261.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.00457, allocations: 31.62 kB / 261.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.005229, allocations: 319.2 kB / 261.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.00576, allocations: 468.3 kB / 262.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.005929, allocations: 73.2 kB / 262.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.006201, allocations: 227.5 kB / 262.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.006423, allocations: 159.4 kB / 262.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.006482, allocations: 32 kB / 262.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.006528, allocations: 32 kB / 262.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.006649, allocations: 107.7 kB / 262.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.006758, allocations: 83.69 kB / 262.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.007082, allocations: 270.9 kB / 263.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.007099, allocations: 3.984 kB / 263.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.0071, allocations: 0 / 263.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.007117, allocations: 0 / 263.1 MB, free: 12.17 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001018/0.008136, allocations: 0.7217 MB / 263.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.008168, allocations: 8.031 kB / 263.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.008269, allocations: 68.88 kB / 263.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.008714, allocations: 325.2 kB / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.00879, allocations: 80.97 kB / 264.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.008853, allocations: 40.38 kB / 264.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.009317, allocations: 359.4 kB / 264.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.009337, allocations: 4.172 kB / 264.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.009368, allocations: 16.38 kB / 264.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.009382, allocations: 16.12 kB / 264.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.009607, allocations: 123.2 kB / 264.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.01134, allocations: 1.474 MB / 266.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.01159, allocations: 153.2 kB / 266.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.01167, allocations: 56.77 kB / 266.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.01169, allocations: 4 kB / 266.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.01172, allocations: 38.56 kB / 266.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.01172, allocations: 0 / 266.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002733/0.01199, allocations: 148.3 kB / 266.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.01203, allocations: 55.41 kB / 266.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.01228, allocations: 339.2 kB / 267.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.0123, allocations: 29.7 kB / 267.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.01242, allocations: 236.6 kB / 267.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.01249, allocations: 103.1 kB / 267.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.01258, allocations: 90.09 kB / 267.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01269, allocations: 354.7 kB / 267.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.264e-05/0.01275, allocations: 39.81 kB / 268 MB, free: 7.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.0129, allocations: 191.8 kB / 268.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.01324, allocations: 338.4 kB / 268.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01324, allocations: 0 / 268.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003499/0.01359, allocations: 265.4 kB / 268.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.01361, allocations: 8 kB / 268.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.01362, allocations: 4 kB / 268.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01364, allocations: 8 kB / 268.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.01409, allocations: 127.8 kB / 268.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.0141, allocations: 15.92 kB / 268.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.01425, allocations: 51.66 kB / 268.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.01427, allocations: 16 kB / 269 MB, free: 5.949 MB / 266.7 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 ) \"Delayed input vector\" type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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 ) \"Delayed input vector\" type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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 ) \"Delayed input vector\" type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001896/0.01446, allocations: 170.7 kB / 269.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.01452, allocations: 23.97 kB / 269.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.01479, allocations: 183.3 kB / 269.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.0148, allocations: 4 kB / 269.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0148, allocations: 0 / 269.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01481, allocations: 0 / 269.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.01509, allocations: 205.5 kB / 269.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01509, allocations: 0 / 269.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.01548, allocations: 102.2 kB / 269.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.01551, allocations: 31.7 kB / 269.7 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.01552, allocations: 4 kB / 269.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.01554, allocations: 7.984 kB / 269.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01555, allocations: 8 kB / 269.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01555, allocations: 0 / 269.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.01589, allocations: 339 kB / 270 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.01593, allocations: 8 kB / 270 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01603, allocations: 8 kB / 270 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01608, allocations: 11.97 kB / 270 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01609, allocations: 11.98 kB / 270.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.01622, allocations: 120.7 kB / 270.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01622, allocations: 4 kB / 270.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.01657, allocations: 79.84 kB / 270.3 MB, free: 4.605 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (25): * Single equations (assignments): 25 * 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.0001066/0.01667, allocations: 99.45 kB / 270.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01695, allocations: 183 kB / 270.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.01696, allocations: 4 kB / 270.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01706, allocations: 65 kB / 270.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01734, allocations: 57.48 kB / 270.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.01849, allocations: 0.7399 MB / 271.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01859, allocations: 132.4 kB / 271.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.01873, allocations: 39.27 kB / 271.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.01887, allocations: 99.36 kB / 271.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01887, allocations: 3.938 kB / 271.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of Templates: time 0.006621/0.02549, allocations: 2.552 MB / 274.2 MB, free: 0.6172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6173653192818165]