Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.0009312/0.0009312, 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.0009324/0.0009324, allocations: 173 kB / 23.5 MB, free: 1.055 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.9764/0.9764, allocations: 177.1 MB / 203.8 MB, free: 5.258 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.03713/0.03713, allocations: 8.613 MB / 268.9 MB, free: 4.82 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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 340.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.678e-05, allocations: 2.312 kB / 340.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002705/0.002722, allocations: 2.217 MB / 343.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004218, allocations: 1.01 MB / 344.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.004384, allocations: 23.75 kB / 344.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.004679, allocations: 99.2 kB / 344.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.004806, allocations: 75.5 kB / 344.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.005644, allocations: 391 kB / 344.7 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.006129, allocations: 0.5443 MB / 345.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.006294, allocations: 69.22 kB / 345.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.006533, allocations: 275.3 kB / 345.6 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.006793, allocations: 203.5 kB / 345.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.006846, allocations: 36 kB / 345.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.00699, allocations: 111.9 kB / 345.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.007131, allocations: 163.4 kB / 346.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.007266, allocations: 135.6 kB / 346.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.007726, allocations: 430.4 kB / 346.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.007729, allocations: 0 / 346.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00773, allocations: 0 / 346.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.007736, allocations: 0 / 346.6 MB, free: 2.914 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.001086/0.008823, allocations: 0.918 MB / 347.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.008863, allocations: 16.03 kB / 347.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.009, allocations: 100.5 kB / 347.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.009482, allocations: 400.9 kB / 348 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.009518, allocations: 29.38 kB / 348.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.009586, allocations: 48.38 kB / 348.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.01015, allocations: 464.5 kB / 348.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.01018, allocations: 12.08 kB / 348.6 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.01022, allocations: 16.38 kB / 348.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.01023, allocations: 15.94 kB / 348.6 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.01058, allocations: 239.4 kB / 348.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.01243, allocations: 2.238 MB / 351.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.01274, allocations: 199.1 kB / 351.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.01286, allocations: 113.3 kB / 351.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.01288, allocations: 7.938 kB / 351.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.0131, allocations: 209 kB / 351.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/0.01311, allocations: 4 kB / 351.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005356/0.01364, allocations: 428.5 kB / 352 MB, free: 13.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.01368, allocations: 85.11 kB / 352.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.014, allocations: 490.4 kB / 352.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.01402, allocations: 41.64 kB / 352.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.0142, allocations: 359 kB / 353 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.01429, allocations: 142.9 kB / 353.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.0144, allocations: 119.8 kB / 353.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01456, allocations: 0.5469 MB / 353.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.01468, allocations: 98.8 kB / 353.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.01491, allocations: 364.5 kB / 354.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.01543, allocations: 0.6394 MB / 354.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.01544, allocations: 4 kB / 354.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000547/0.01598, allocations: 0.5523 MB / 355.4 MB, free: 9.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.01602, allocations: 38.47 kB / 355.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.01603, allocations: 8 kB / 355.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01605, allocations: 12 kB / 355.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.0164, allocations: 131.8 kB / 355.6 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.01642, allocations: 15.94 kB / 355.6 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.01656, allocations: 71.5 kB / 355.7 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.01659, allocations: 28 kB / 355.7 MB, free: 9.148 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.0002115/0.0168, allocations: 265.3 kB / 356 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.01686, allocations: 67.61 kB / 356.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.01732, allocations: 395.9 kB / 356.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01732, allocations: 4 kB / 356.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01733, allocations: 0 / 356.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01733, allocations: 3.938 kB / 356.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.01762, allocations: 360.2 kB / 356.8 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.01762, allocations: 0 / 356.8 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.01789, allocations: 79.89 kB / 356.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01789, allocations: 0 / 356.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.01792, allocations: 19.98 kB / 356.9 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01793, allocations: 8 kB / 356.9 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01793, allocations: 3.984 kB / 356.9 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.01846, allocations: 0.547 MB / 357.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.0185, allocations: 51.55 kB / 357.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.01855, allocations: 19.98 kB / 357.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.01863, allocations: 19.98 kB / 357.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.01868, allocations: 27.94 kB / 357.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.0187, allocations: 8 kB / 357.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.01888, allocations: 291 kB / 357.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01888, allocations: 4 kB / 357.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.01923, allocations: 127.7 kB / 358 MB, free: 6.766 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.0003185/0.01955, allocations: 145.8 kB / 358.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.02021, allocations: 425.1 kB / 358.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.02021, allocations: 4.062 kB / 358.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.0204, allocations: 216.5 kB / 358.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.02076, allocations: 55.86 kB / 358.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.02214, allocations: 0.9763 MB / 359.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.02224, allocations: 145.7 kB / 359.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.02242, allocations: 96.09 kB / 360 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.02249, allocations: 32.5 kB / 360.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02249, allocations: 0 / 360.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of Templates: time 0.007078/0.02957, allocations: 3.723 MB / 363.8 MB, free: 0.8867 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8009205281268805]