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.001811/0.001811, allocations: 93.47 kB / 19.44 MB, free: 336 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.001973/0.001973, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.614/1.614, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.06975/0.06975, allocations: 8.616 MB / 268.2 MB, free: 4.949 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.633e-06/1.633e-06, allocations: 0 / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.252e-05, allocations: 2.312 kB / 340.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002498/0.002521, allocations: 2.17 MB / 342.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.003928, allocations: 1.013 MB / 343.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.004074, allocations: 19.75 kB / 343.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.004333, allocations: 95.28 kB / 343.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.004449, allocations: 75.44 kB / 343.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.005287, allocations: 391 kB / 343.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.005702, allocations: 0.5443 MB / 344.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.005838, allocations: 61.22 kB / 344.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.006059, allocations: 263.4 kB / 344.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.006308, allocations: 215.4 kB / 345 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.006371, allocations: 36 kB / 345 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.006513, allocations: 107.9 kB / 345.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.006626, allocations: 159.5 kB / 345.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.006743, allocations: 139.5 kB / 345.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.007178, allocations: 0.5411 MB / 345.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00718, allocations: 0 / 345.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007181, allocations: 0 / 345.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.007188, allocations: 0 / 345.9 MB, free: 2.902 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.001123/0.008311, allocations: 0.9411 MB / 346.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.008345, allocations: 8.031 kB / 346.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.008482, allocations: 100.5 kB / 347 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.009002, allocations: 389 kB / 347.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.00903, allocations: 37.38 kB / 347.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.009096, allocations: 52.31 kB / 347.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.00967, allocations: 499.8 kB / 348 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.009696, allocations: 8.172 kB / 348 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.009732, allocations: 16.38 kB / 348 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.009741, allocations: 15.94 kB / 348 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.0102, allocations: 293.4 kB / 348.3 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.01354, allocations: 2.347 MB / 350.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.01408, allocations: 216.7 kB / 350.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.01432, allocations: 133.3 kB / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.01436, allocations: 8 kB / 351 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.01475, allocations: 228.9 kB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.663e-06/0.01475, allocations: 4 kB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009663/0.01572, allocations: 480.5 kB / 351.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.01579, allocations: 89.09 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.01644, allocations: 0.5453 MB / 352.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.01648, allocations: 29.7 kB / 352.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.01681, allocations: 367 kB / 352.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.01698, allocations: 158.8 kB / 352.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.01719, allocations: 135.8 kB / 353 MB, free: 11.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003811/0.01757, allocations: 0.5742 MB / 353.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.01782, allocations: 122.8 kB / 353.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.01837, allocations: 407.8 kB / 354.1 MB, free: 10.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.01946, allocations: 0.7174 MB / 354.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.01947, allocations: 8 kB / 354.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001077/0.02055, allocations: 0.5953 MB / 355.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.02061, allocations: 45.62 kB / 355.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.02062, allocations: 8 kB / 355.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.02064, allocations: 8.781 kB / 355.5 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.02121, allocations: 135.8 kB / 355.6 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.02124, allocations: 15.92 kB / 355.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.02152, allocations: 71.5 kB / 355.7 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.02157, allocations: 24 kB / 355.7 MB, free: 8.5 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.0004229/0.022, allocations: 285.3 kB / 356 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.0221, allocations: 63.67 kB / 356 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/0.02297, allocations: 435.9 kB / 356.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.02298, allocations: 8 kB / 356.5 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.02298, allocations: 0 / 356.5 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02299, allocations: 0 / 356.5 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.02355, allocations: 408.2 kB / 356.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02355, allocations: 0 / 356.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.02408, allocations: 83.88 kB / 356.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.02408, allocations: 0 / 356.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.02413, allocations: 19.98 kB / 357 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.02414, allocations: 7.984 kB / 357 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02414, allocations: 0 / 357 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.02523, allocations: 0.6212 MB / 357.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.02532, allocations: 51.61 kB / 357.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.02539, allocations: 15.98 kB / 357.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.02555, allocations: 15.98 kB / 357.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.02563, allocations: 19.97 kB / 357.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.02567, allocations: 11.98 kB / 357.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.02605, allocations: 323 kB / 358 MB, free: 6.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02605, allocations: 0 / 358 MB, free: 6.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.02651, allocations: 127.7 kB / 358.1 MB, free: 5.922 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.0002492/0.02676, allocations: 142 kB / 358.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008201/0.02758, allocations: 481.7 kB / 358.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.02758, allocations: 64 / 358.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.02794, allocations: 248.3 kB / 359 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.02829, allocations: 62.78 kB / 359.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.02997, allocations: 0.9996 MB / 360.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.0303, allocations: 284.4 kB / 360.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.03054, allocations: 88.09 kB / 360.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.03065, allocations: 44.48 kB / 360.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03065, allocations: 0 / 360.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of Templates: time 0.009984/0.04064, allocations: 3.687 MB / 364.2 MB, free: 15.82 MB / 298.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: 4.742930395994335]