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.0008772/0.0008772, allocations: 92.22 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.001477/0.001477, allocations: 173 kB / 23.03 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.9661/0.9661, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.03603/0.03603, allocations: 8.606 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.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.363e-06/1.363e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.764e-05, allocations: 6.25 kB / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.001966/0.001984, allocations: 2.216 MB / 343.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003076, allocations: 1.013 MB / 344.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.003214, allocations: 15.81 kB / 344.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.003449, allocations: 99.22 kB / 344.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.003534, allocations: 75.44 kB / 344.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.004227, allocations: 383.1 kB / 344.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.004581, allocations: 0.5482 MB / 345.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.004707, allocations: 65.23 kB / 345.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.004882, allocations: 263.4 kB / 345.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.005071, allocations: 211.4 kB / 345.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.005115, allocations: 36 kB / 345.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.005226, allocations: 107.9 kB / 345.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.005312, allocations: 159.5 kB / 346 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.005396, allocations: 143.5 kB / 346.2 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.005687, allocations: 418.4 kB / 346.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005689, allocations: 4 kB / 346.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.00569, allocations: 0 / 346.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.005696, allocations: 4 kB / 346.6 MB, free: 2.633 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.0007446/0.00644, allocations: 0.9219 MB / 347.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.006471, allocations: 12.03 kB / 347.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.006563, allocations: 92.56 kB / 347.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.006891, allocations: 393 kB / 348 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.006917, allocations: 29.38 kB / 348 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.006963, allocations: 52.33 kB / 348.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.007359, allocations: 468.5 kB / 348.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.007378, allocations: 4.125 kB / 348.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.007404, allocations: 16.38 kB / 348.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.007415, allocations: 19.92 kB / 348.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.007666, allocations: 243.4 kB / 348.8 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.009382, allocations: 2.238 MB / 351.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.009663, allocations: 188.7 kB / 351.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.009776, allocations: 109.3 kB / 351.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.0098, allocations: 12 kB / 351.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.01, allocations: 208.9 kB / 351.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.01, allocations: 0 / 351.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004801/0.01048, allocations: 432.5 kB / 352 MB, free: 12.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.01052, allocations: 81.11 kB / 352.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.01083, allocations: 486.4 kB / 352.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01085, allocations: 29.7 kB / 352.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01101, allocations: 363 kB / 352.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.01109, allocations: 146.8 kB / 353.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.01119, allocations: 123.7 kB / 353.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.01134, allocations: 0.5469 MB / 353.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.01145, allocations: 102.7 kB / 353.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.01166, allocations: 371.8 kB / 354.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.01216, allocations: 0.6394 MB / 354.8 MB, free: 9.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01216, allocations: 0 / 354.8 MB, free: 9.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005154/0.01268, allocations: 0.5484 MB / 355.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.0127, allocations: 34.48 kB / 355.4 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.01272, allocations: 8 kB / 355.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01273, allocations: 12 kB / 355.4 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.01301, allocations: 139.8 kB / 355.6 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.01302, allocations: 11.94 kB / 355.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.01316, allocations: 67.5 kB / 355.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.01318, allocations: 31.98 kB / 355.7 MB, free: 8.883 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.0001892/0.01337, allocations: 265.3 kB / 355.9 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.01342, allocations: 67.66 kB / 356 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.01384, allocations: 403.6 kB / 356.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01384, allocations: 4 kB / 356.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01384, allocations: 0 / 356.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01385, allocations: 4 kB / 356.4 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.0141, allocations: 352.2 kB / 356.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0141, allocations: 0 / 356.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.01437, allocations: 87.88 kB / 356.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01437, allocations: 0 / 356.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.0144, allocations: 15.98 kB / 356.9 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0144, allocations: 8 kB / 356.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0144, allocations: 0 / 356.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.01491, allocations: 0.5548 MB / 357.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.01494, allocations: 47.55 kB / 357.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.01498, allocations: 16 kB / 357.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.01506, allocations: 15.98 kB / 357.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.01511, allocations: 27.89 kB / 357.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.01513, allocations: 15.98 kB / 357.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.0153, allocations: 283.1 kB / 357.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0153, allocations: 4 kB / 357.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.01557, allocations: 127.7 kB / 357.9 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.0001765/0.01575, allocations: 147.1 kB / 358.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.01614, allocations: 409.8 kB / 358.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01615, allocations: 4 kB / 358.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.01629, allocations: 208.6 kB / 358.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01651, allocations: 64.55 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.0008956/0.01741, allocations: 0.98 MB / 359.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.383e-05/0.01749, allocations: 145.7 kB / 359.9 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.01763, allocations: 96.08 kB / 360 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.0177, allocations: 32.5 kB / 360 MB, free: 4.324 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0177, allocations: 0 / 360 MB, free: 4.324 MB / 282.7 MB Notification: Performance of Templates: time 0.006402/0.0241, allocations: 3.846 MB / 363.9 MB, free: 0.5078 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: 2.849041312932968]