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.001091/0.001091, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001228/0.001228, allocations: 169 kB / 23.27 MB, free: 1.223 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.016/1.016, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.03904/0.03904, allocations: 8.619 MB / 268.9 MB, free: 4.762 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.383e-06/1.383e-06, allocations: 0 / 341.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.216e-05, allocations: 2.312 kB / 341.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.004732/0.004754, allocations: 2.186 MB / 343.5 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.006266, allocations: 1.01 MB / 344.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.006462, allocations: 27.75 kB / 344.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.006731, allocations: 99.2 kB / 344.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.006842, allocations: 67.44 kB / 344.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.007754, allocations: 403 kB / 345.1 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.008242, allocations: 0.5519 MB / 345.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.008401, allocations: 68.45 kB / 345.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.008667, allocations: 263.4 kB / 346 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.008906, allocations: 211.4 kB / 346.2 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.008956, allocations: 36 kB / 346.2 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.009105, allocations: 115.8 kB / 346.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.009222, allocations: 159.5 kB / 346.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.009332, allocations: 131.5 kB / 346.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.009757, allocations: 434.4 kB / 347 MB, free: 3.426 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00976, allocations: 0 / 347 MB, free: 3.426 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.009762, allocations: 0 / 347 MB, free: 3.426 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.009769, allocations: 0 / 347 MB, free: 3.426 MB / 314.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.0009191/0.01069, allocations: 0.91 MB / 347.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.01072, allocations: 12.02 kB / 348 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.572e-05/0.01082, allocations: 104.5 kB / 348.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.01118, allocations: 388.9 kB / 348.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.01121, allocations: 29.38 kB / 348.5 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.01127, allocations: 52.33 kB / 348.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.01167, allocations: 444.3 kB / 348.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01169, allocations: 4.125 kB / 349 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.01171, allocations: 24.38 kB / 349 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01172, allocations: 11.94 kB / 349 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.01192, allocations: 196.4 kB / 349.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01351, allocations: 2.106 MB / 351.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.01377, allocations: 186.9 kB / 351.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.01387, allocations: 97.94 kB / 351.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.0139, allocations: 8 kB / 351.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.01411, allocations: 213.2 kB / 351.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.01411, allocations: 4 kB / 351.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004473/0.01456, allocations: 396.2 kB / 352.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.0146, allocations: 89.09 kB / 352.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.01489, allocations: 482.2 kB / 352.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.01492, allocations: 33.7 kB / 352.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.01509, allocations: 362.9 kB / 353.1 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.01517, allocations: 146.8 kB / 353.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.01528, allocations: 131.6 kB / 353.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01543, allocations: 0.5468 MB / 353.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.01551, allocations: 86.81 kB / 354 MB, free: 12.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.01569, allocations: 355.8 kB / 354.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.0161, allocations: 0.5961 MB / 355 MB, free: 10.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.0161, allocations: 4 kB / 355 MB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004736/0.01658, allocations: 0.5137 MB / 355.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.01661, allocations: 37.64 kB / 355.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.01662, allocations: 8 kB / 355.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01663, allocations: 8 kB / 355.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.01688, allocations: 127.8 kB / 355.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01689, allocations: 11.94 kB / 355.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.01703, allocations: 71.5 kB / 355.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.01705, allocations: 20.31 kB / 355.8 MB, free: 10.04 MB / 330.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.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 (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.0002518/0.0173, allocations: 277.3 kB / 356 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.01736, allocations: 63.67 kB / 356.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.01773, allocations: 372 kB / 356.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01773, allocations: 4 kB / 356.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01774, allocations: 0 / 356.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01774, allocations: 3.984 kB / 356.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01797, allocations: 280.8 kB / 356.7 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01797, allocations: 4 kB / 356.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.01822, allocations: 83.89 kB / 356.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01822, allocations: 4 kB / 356.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.01825, allocations: 15.98 kB / 356.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.01825, allocations: 4 kB / 356.8 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01825, allocations: 0 / 356.8 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.01872, allocations: 0.5202 MB / 357.4 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.01876, allocations: 47.59 kB / 357.4 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.01879, allocations: 16 kB / 357.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.01886, allocations: 15.98 kB / 357.4 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.0189, allocations: 23.91 kB / 357.5 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01892, allocations: 15.92 kB / 357.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.01906, allocations: 279 kB / 357.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01906, allocations: 0 / 357.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01933, allocations: 119.8 kB / 357.9 MB, free: 7.824 MB / 330.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.0001498/0.01948, allocations: 147.1 kB / 358 MB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.01981, allocations: 387.8 kB / 358.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01981, allocations: 0 / 358.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.01994, allocations: 200.6 kB / 358.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.02017, allocations: 60.33 kB / 358.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.02103, allocations: 0.9761 MB / 359.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.566e-05/0.02111, allocations: 149.7 kB / 359.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.02122, allocations: 48.17 kB / 359.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.02136, allocations: 150.2 kB / 360 MB, free: 5.613 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02136, allocations: 0 / 360 MB, free: 5.613 MB / 330.7 MB Notification: Performance of Templates: time 0.006322/0.02768, allocations: 3.957 MB / 363.9 MB, free: 1.691 MB / 330.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.909556624945253]