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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 276 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.001865/0.001865, allocations: 173 kB / 23.02 MB, free: 1.547 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.004/1.004, allocations: 177.1 MB / 203.4 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.04757/0.04757, allocations: 8.61 MB / 268.6 MB, free: 4.926 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.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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 340.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.603e-05, allocations: 8.422 kB / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002552/0.002588, allocations: 2.178 MB / 343.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007044/0.003292, allocations: 447.9 kB / 343.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.003441, allocations: 15.81 kB / 343.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.003646, allocations: 67.33 kB / 343.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.003732, allocations: 39.55 kB / 343.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.004277, allocations: 275.4 kB / 343.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.004625, allocations: 444.3 kB / 344.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004774, allocations: 65.22 kB / 344.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.004916, allocations: 199.5 kB / 344.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.005053, allocations: 143.5 kB / 344.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.005096, allocations: 28 kB / 344.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.005125, allocations: 28 kB / 344.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.005204, allocations: 135.5 kB / 344.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.005269, allocations: 103.6 kB / 345 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.005483, allocations: 286.7 kB / 345.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005486, allocations: 0 / 345.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005487, allocations: 0 / 345.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.005493, allocations: 3.938 kB / 345.3 MB, free: 3.969 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.000713/0.006206, allocations: 0.7687 MB / 346.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.006248, allocations: 8.031 kB / 346.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.006337, allocations: 88.59 kB / 346.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.006651, allocations: 338.8 kB / 346.5 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.006684, allocations: 29.31 kB / 346.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.006726, allocations: 40.38 kB / 346.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.007109, allocations: 382.2 kB / 346.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.00713, allocations: 8.141 kB / 346.9 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.007154, allocations: 16.38 kB / 346.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.007167, allocations: 12.38 kB / 347 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.007368, allocations: 159.6 kB / 347.1 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.008815, allocations: 2.034 MB / 349.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.009061, allocations: 111 kB / 349.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.009148, allocations: 55.7 kB / 349.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.009171, allocations: 8 kB / 349.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.009194, allocations: 37.39 kB / 349.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.009196, allocations: 0 / 349.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003239/0.009519, allocations: 197.7 kB / 349.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.009568, allocations: 59.34 kB / 349.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.009843, allocations: 414.5 kB / 350 MB, free: 14.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.009858, allocations: 33.7 kB / 350 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.01006, allocations: 318.8 kB / 350.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.01011, allocations: 87.28 kB / 350.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.01018, allocations: 83.34 kB / 350.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01039, allocations: 0.5196 MB / 351 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.01046, allocations: 52.47 kB / 351.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.01062, allocations: 252 kB / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.01097, allocations: 392.2 kB / 351.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.01098, allocations: 3.938 kB / 351.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003359/0.01131, allocations: 329.4 kB / 352 MB, free: 12.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01133, allocations: 12.09 kB / 352.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01134, allocations: 4 kB / 352.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01135, allocations: 8 kB / 352.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.01158, allocations: 91.83 kB / 352.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.01159, allocations: 11.94 kB / 352.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.01168, allocations: 43.72 kB / 352.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.0117, allocations: 20 kB / 352.2 MB, free: 12.52 MB / 282.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 ) 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.0001573/0.01186, allocations: 222.2 kB / 352.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.0119, allocations: 43.77 kB / 352.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.0123, allocations: 196.3 kB / 352.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01231, allocations: 4 kB / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01231, allocations: 0 / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01231, allocations: 4 kB / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01257, allocations: 284.4 kB / 353 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01258, allocations: 3.938 kB / 353 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.01276, allocations: 55.91 kB / 353 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01276, allocations: 0 / 353 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.01278, allocations: 11.98 kB / 353 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01279, allocations: 0 / 353 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01279, allocations: 4 kB / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.01311, allocations: 379.4 kB / 353.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.01315, allocations: 43.64 kB / 353.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.01318, allocations: 8 kB / 353.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.01324, allocations: 11.98 kB / 353.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.0133, allocations: 15.97 kB / 353.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.0133, allocations: 4 kB / 353.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.01345, allocations: 255.1 kB / 353.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01345, allocations: 0 / 353.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.01373, allocations: 75.78 kB / 353.8 MB, free: 10.87 MB / 282.7 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.0001034/0.01383, allocations: 107.2 kB / 353.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.01409, allocations: 188.2 kB / 354.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01409, allocations: 0 / 354.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.01417, allocations: 70.64 kB / 354.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01441, allocations: 43.44 kB / 354.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.01557, allocations: 0.7235 MB / 354.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.01565, allocations: 132.4 kB / 355.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.01576, allocations: 59.17 kB / 355.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.01583, allocations: 32.48 kB / 355.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of SimCode: time 1.854e-06/0.01583, allocations: 0 / 355.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of Templates: time 0.0049/0.02073, allocations: 2.186 MB / 357.3 MB, free: 7.289 MB / 282.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.796549458988011]